We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6302e23 commit 555f6a6Copy full SHA for 555f6a6
1 file changed
src/app.rs
@@ -252,6 +252,10 @@ impl App {
252
}
253
254
fn handle_key_input(&mut self, term: &mut Term, key: event::KeyEvent) -> Res<()> {
255
+ if key.kind != event::KeyEventKind::Press {
256
+ return Ok(());
257
+ }
258
+
259
let menu = match &self.state.pending_menu {
260
None => Menu::Root,
261
Some(menu) if menu.menu == Menu::Help => Menu::Root,
0 commit comments