From 141a6c3915f9d73c59459c51e2c1d55fcc00ff7f Mon Sep 17 00:00:00 2001 From: Conrad Irwin Date: Fri, 28 Mar 2025 21:28:14 -0600 Subject: [PATCH] Revert "terminal: Make IME work with tab and enter keys (#27572)" (#27719) This reverts commit be657aefa38da0f63bedaea18621edcc0cc929d1. (#27572) Unfortunately this change broke other bindings in the terminal like `cmd-left` and `cmd-right`. We do need to redo the terminal IME handling at some point, but we'll need a bit more thought to find an approach that works. Release Notes: - N/A --- crates/terminal_view/src/terminal_element.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/terminal_view/src/terminal_element.rs b/crates/terminal_view/src/terminal_element.rs index 8ab62158484e1acfa52d3fc9f5562b9980cb5bfa..cbcc0a0f269120f4e59820938988ea7f7936e73c 100644 --- a/crates/terminal_view/src/terminal_element.rs +++ b/crates/terminal_view/src/terminal_element.rs @@ -998,7 +998,7 @@ impl InputHandler for TerminalInputHandler { } fn marked_text_range(&mut self, _: &mut Window, _: &mut App) -> Option> { - Some(0..0) + None } fn text_for_range(