From e0576d2103d80d04123a15228d154cf165dfe4cf Mon Sep 17 00:00:00 2001 From: forkless Date: Sun, 31 May 2026 21:03:22 +0200 Subject: [PATCH] Reduce event poll to 16ms for smooth whale animation --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 1bd5eeb..1e278cd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1013,7 +1013,7 @@ fn get_config_path(_terminal: &mut Terminal, app: &mut App) -> Re /// Key-repeat and initial press are both accepted. fn read_key_event() -> Result { loop { - if event::poll(std::time::Duration::from_millis(100))? { + if event::poll(std::time::Duration::from_millis(16))? { if let Event::Key(key) = event::read()? { if key.kind != KeyEventKind::Release { return Ok(key);