diff --git a/usr.bin/tmux/key-bindings.c b/usr.bin/tmux/key-bindings.c index 6a0df7cd967..594f2b16755 100644 --- a/usr.bin/tmux/key-bindings.c +++ b/usr.bin/tmux/key-bindings.c @@ -1,4 +1,4 @@ -/* $OpenBSD: key-bindings.c,v 1.156 2025/10/29 09:33:20 nicm Exp $ */ +/* $OpenBSD: key-bindings.c,v 1.157 2025/12/04 22:50:34 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -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 } }",