From 398a0d96ff877ecd316117b4bc58ced0f7161f96 Mon Sep 17 00:00:00 2001 From: postsolar <120750161+postsolar@users.noreply.github.com> Date: Fri, 12 Apr 2024 21:50:49 +0300 Subject: [PATCH] Enable unambiguous keyboard event reporting --- helix-tui/src/backend/crossterm.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/helix-tui/src/backend/crossterm.rs b/helix-tui/src/backend/crossterm.rs index 37721e8965336..2d7017e142b0c 100644 --- a/helix-tui/src/backend/crossterm.rs +++ b/helix-tui/src/backend/crossterm.rs @@ -160,6 +160,7 @@ where self.buffer, PushKeyboardEnhancementFlags( KeyboardEnhancementFlags::DISAMBIGUATE_ESCAPE_CODES + | KeyboardEnhancementFlags::REPORT_ALL_KEYS_AS_ESCAPE_CODES | KeyboardEnhancementFlags::REPORT_ALTERNATE_KEYS ) )?;