diff --git a/src/input.rs b/src/input.rs index ec3e1915c..dbd19acbd 100644 --- a/src/input.rs +++ b/src/input.rs @@ -683,7 +683,7 @@ fn next_is_char(&mut self, style: &KeyNameStyle, key: Key, escaped: bool) -> boo return false; }; if WAIT_ON_ESCAPE_MS.load(Ordering::Relaxed) != 0 - && kevt.key == Key::from_raw(key::Escape) + && kevt.seq == L!("\x1b") && key.modifiers == Modifiers::ALT { self.idx += 1;