From 45d84dc646afea4f2c6c065bea44736e0ebb256d Mon Sep 17 00:00:00 2001 From: graelo Date: Mon, 1 Jun 2020 16:01:20 +0200 Subject: [PATCH] feat: increase refresh rate 50ms -> 25ms --- src/ui.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui.rs b/src/ui.rs index 7a7b609..7ece37e 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -368,7 +368,7 @@ impl<'a> Ui<'a> { if next_key.is_none() { // Nothing in the buffer. Wait for a bit... - std::thread::sleep(std::time::Duration::from_millis(50)); + std::thread::sleep(std::time::Duration::from_millis(25)); continue; }