From 4b8ab183925faa6447a7cbb3ba4ee0c994db6377 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Sun, 24 Mar 2024 16:07:12 +0100 Subject: [PATCH] tmux: Fix MouseDragEnd1StatusDefault for v3.4 move-window does not support format parsing. Apparently it was a bug that it did in the past. Fix this by using run-shell - which I hate as a solution. --- .config/tmux/tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 761d272..e8d0437 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -86,7 +86,7 @@ bind -n MouseDrag1Status swap-window -d -t= # TODO: do nothing on drags that don't start on a window name bind -n MouseDragEnd1StatusDefault \ if -F "#{e|>|f|0:#{mouse_x},#{e|/|f:#{window_width},2}}" { - move-window -t #{last_window_index} -a + run-shell "tmux move-window -at #{last_window_index}" } { move-window -t0 }