mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-25 08:47:18 +02:00
Add 1ms delay
This commit is contained in:
parent
558c176862
commit
e53b8af73b
1 changed files with 2 additions and 0 deletions
|
@ -123,6 +123,8 @@ impl Events {
|
|||
},
|
||||
};
|
||||
tx.send(Event::Input(key)).await.unwrap();
|
||||
task::sleep(Duration::from_millis(1)).await;
|
||||
task::yield_now().await;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue