mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-27 06:37:19 +02:00
Merge pull request #115 from kdheepak/fix-last-tick-pause-stdin
This commit is contained in:
commit
0ae677fbaa
1 changed files with 1 additions and 0 deletions
|
@ -83,6 +83,7 @@ impl Events {
|
||||||
if pause_stdin.load(Ordering::SeqCst) {
|
if pause_stdin.load(Ordering::SeqCst) {
|
||||||
thread::sleep(Duration::from_millis(250));
|
thread::sleep(Duration::from_millis(250));
|
||||||
thread::park();
|
thread::park();
|
||||||
|
last_tick = Instant::now();
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue