From 46174563489273199a17c982356c6e4674ef00d4 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Sat, 11 Jul 2026 02:46:41 +0300 Subject: feat: add copy-on-select setting --- src/app/input/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/app/input/mod.rs') diff --git a/src/app/input/mod.rs b/src/app/input/mod.rs index bcd5da98..421b3738 100644 --- a/src/app/input/mod.rs +++ b/src/app/input/mod.rs @@ -408,6 +408,11 @@ impl App { } fn handle_pane_double_click(&mut self, mouse: MouseEvent) -> bool { + if !self.state.copy_on_select { + self.last_pane_click = None; + return false; + } + // A pane press stops being a double-click candidate once it becomes // a drag or completes as a real text selection. match mouse.kind { -- cgit v1.2.3