From a0474ae770ed185f6531a3c69ab64c60bed2c670 Mon Sep 17 00:00:00 2001 From: Can Celik Date: Fri, 11 Sep 2026 22:58:01 +0300 Subject: fix: preserve whole-word selection while dragging (#3969) refs #1836 --- src/client/shell/input.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/shell/input.rs') diff --git a/src/client/shell/input.rs b/src/client/shell/input.rs index 41a9f64c..8a3684a3 100644 --- a/src/client/shell/input.rs +++ b/src/client/shell/input.rs @@ -134,7 +134,7 @@ impl ClientShellState { outcome.repaint = true; return true; } - self.pending_word_selection = None; + self.word_selection_gesture = None; if self.copy_or_terminal_mode() != ClientShellMode::Copy && self.selection.take().is_some() { self.stop_selection_autoscroll(); @@ -526,7 +526,7 @@ impl ClientShellState { if matches!(key.code, KeyCode::Modifier(_)) { return None; } - self.pending_word_selection = None; + self.word_selection_gesture = None; if self.mode != ClientShellMode::Copy && self.copy_or_terminal_mode() != ClientShellMode::Copy && !self.config.copy_on_select -- cgit v1.2.3