aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/application.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src/application.rs')
-rw-r--r--helix-term/src/application.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index d7896419..ee2a438c 100644
--- a/helix-term/src/application.rs
+++ b/helix-term/src/application.rs
@@ -638,6 +638,11 @@ impl Application {
self.compositor
.handle_event(&Event::Resize(width, height), &mut cx)
}
+ // Ignore keyboard release events.
+ CrosstermEvent::Key(crossterm::event::KeyEvent {
+ kind: crossterm::event::KeyEventKind::Release,
+ ..
+ }) => false,
event => self.compositor.handle_event(&event.into(), &mut cx),
};