From 221a7838583fbf18f08e96daa6a9547f2d754e8d Mon Sep 17 00:00:00 2001 From: Joscha Date: Tue, 14 Jun 2022 11:24:37 +0200 Subject: [PATCH] Increase input poll duration --- cove-tui/src/ui.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cove-tui/src/ui.rs b/cove-tui/src/ui.rs index 8ee1f3a..19fa74e 100644 --- a/cove-tui/src/ui.rs +++ b/cove-tui/src/ui.rs @@ -29,7 +29,7 @@ pub struct 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<()> { let (event_tx, event_rx) = mpsc::unbounded_channel();