From 01962e25dc25b732361fa0b94ce630651891cd33 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 4 Dec 2025 22:50:34 +0000 Subject: [PATCH] Allow drag in alternate screen again, GitHub issue 4743 reported by Brad King. --- key-bindings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/key-bindings.c b/key-bindings.c index 7f8b20e0..a5e1f9c8 100644 --- a/key-bindings.c +++ b/key-bindings.c @@ -441,7 +441,7 @@ key_bindings_init(void) "bind -n MouseDown1Pane { select-pane -t=; send -M }", /* Mouse button 1 drag on pane. */ - "bind -n MouseDrag1Pane { if -F '#{||:#{alternate_on},#{pane_in_mode},#{mouse_any_flag}}' { send -M } { copy-mode -M } }", + "bind -n MouseDrag1Pane { if -F '#{||:#{pane_in_mode},#{mouse_any_flag}}' { send -M } { copy-mode -M } }", /* Mouse wheel up on pane. */ "bind -n WheelUpPane { if -F '#{||:#{alternate_on},#{pane_in_mode},#{mouse_any_flag}}' { send -M } { copy-mode -e } }",