mirror of
https://github.com/extrawurst/gitui.git
synced 2024-11-23 03:32:30 +03:00
changelog and notes for #1506
This commit is contained in:
parent
bf31f20657
commit
798f990cd3
@ -34,6 +34,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
* fix symlink support for configuration files [[@TheBlackSheep3](https://github.com/TheBlackSheep3)] ([#1751](https://github.com/extrawurst/gitui/issues/1751))
|
||||
* fix expansion of `~` in `commit.template` ([#1745](https://github.com/extrawurst/gitui/pull/1745))
|
||||
* fix hunk (un)staging/reset for # of context lines != 3 ([#1746](https://github.com/extrawurst/gitui/issues/1746))
|
||||
* fix delay when opening external editor ([#1506](https://github.com/extrawurst/gitui/issues/1506))
|
||||
|
||||
## [0.23.0] - 2022-06-19
|
||||
|
||||
|
@ -12,7 +12,7 @@ use std::{
|
||||
};
|
||||
|
||||
static FAST_POLL_DURATION: Duration = Duration::from_millis(100);
|
||||
static SLOW_POLL_DURATION: Duration = Duration::from_millis(1000);
|
||||
static SLOW_POLL_DURATION: Duration = Duration::from_millis(10000);
|
||||
|
||||
///
|
||||
#[derive(Clone, Copy, Debug)]
|
||||
@ -123,6 +123,9 @@ impl Input {
|
||||
}
|
||||
|
||||
tx.send(InputEvent::Input(e))?;
|
||||
//Note: right after an input event we might have a reason to stop
|
||||
// polling (external editor opening) so lets do a quick poll until the next input
|
||||
// this fixes https://github.com/extrawurst/gitui/issues/1506
|
||||
poll_duration = FAST_POLL_DURATION;
|
||||
} else {
|
||||
poll_duration = SLOW_POLL_DURATION;
|
||||
|
Loading…
Reference in New Issue
Block a user