From b5736c55357e25df89dc021ae73899f07937d31a Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Thu, 20 Feb 2025 17:11:08 +0100 Subject: [PATCH] Extend iTerm CSI u workaround to < 3.5.12 iTerm has a bug where it'll send Option-Left as Left instead of the proper Alt-Left. This was reported upstream and fixed in https://gitlab.com/gnachman/iterm2/-/commit/480f059bced960d5706da95126b2437e0d3c31f5 which is contained in the 3.5.12-beta2 tag, so let's assume that fixes it. Fixes #11025 (not necessary in 4.1) --- src/input_common.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input_common.rs b/src/input_common.rs index ddac41b1e..63da58fc0 100644 --- a/src/input_common.rs +++ b/src/input_common.rs @@ -448,7 +448,7 @@ pub fn terminal_protocol_hacks() { else { return false; }; - version < (3, 5, 6) + version < (3, 5, 12) }), ); IN_JETBRAINS.store(