Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-term/src/application.rs')
-rw-r--r--helix-term/src/application.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index ed03edfc..c4e0bc3e 100644
--- a/helix-term/src/application.rs
+++ b/helix-term/src/application.rs
@@ -751,6 +751,8 @@ impl Application {
kind: crossterm::event::KeyEventKind::Release,
..
}) => false,
+ #[cfg(not(windows))]
+ event if event.is_escape() => false,
event => self.compositor.handle_event(&event.into(), &mut cx),
};