Increase input poll duration
This commit is contained in:
parent
1dbc95bb81
commit
221a783858
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ pub struct Ui {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Ui {
|
impl Ui {
|
||||||
const POLL_DURATION: Duration = Duration::from_millis(100);
|
const POLL_DURATION: Duration = Duration::from_millis(500);
|
||||||
|
|
||||||
pub async fn run(terminal: &mut Terminal) -> anyhow::Result<()> {
|
pub async fn run(terminal: &mut Terminal) -> anyhow::Result<()> {
|
||||||
let (event_tx, event_rx) = mpsc::unbounded_channel();
|
let (event_tx, event_rx) = mpsc::unbounded_channel();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue