Restore 100ms poll, whale on main menu only

This commit is contained in:
2026-05-31 21:06:47 +02:00
parent e0576d2103
commit af71f0b285
2 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -1013,7 +1013,7 @@ fn get_config_path<B: Backend>(_terminal: &mut Terminal<B>, app: &mut App) -> Re
/// Key-repeat and initial press are both accepted.
fn read_key_event() -> Result<crossterm::event::KeyEvent> {
loop {
if event::poll(std::time::Duration::from_millis(16))? {
if event::poll(std::time::Duration::from_millis(100))? {
if let Event::Key(key) = event::read()? {
if key.kind != KeyEventKind::Release {
return Ok(key);