mirror of
https://github.com/tmux/tmux.git
synced 2026-10-11 13:04:22 +00:00
Raise a floating or zoomed pane when its border is clicked.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -524,7 +524,7 @@ key_bindings_init(void)
|
||||
"bind -n TripleClick1Pane { select-pane -t=; if -F '#{||:#{pane_in_mode},#{mouse_any_flag}}' { send -M } { copy-mode -H; send -X select-line; run -d0.3; send -X copy-pipe-and-cancel } }",
|
||||
|
||||
/* Mouse button 1 on border. */
|
||||
"bind -n MouseDown1Border { select-pane -t= }",
|
||||
"bind -n MouseDown1Border { select-pane -t=; if -Ft= '#{||:#{pane_floating_flag},#{pane_zoomed_flag}}' { move-pane -t= -P front } }",
|
||||
|
||||
/* Mouse button 1 drag on border. */
|
||||
"bind -n MouseDrag1Border { resize-pane -M }",
|
||||
|
||||
Reference in New Issue
Block a user