From c55865f76ec6985c0272ffc87e9f4a1ea7ef549a Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Tue, 23 Mar 2021 00:39:17 -0500 Subject: [PATCH] Change use of tmux's `resize-window` to `resize-pane` I believe they are both equivalent for our particular purpose, since we only care about enforcing the size fish sees. `resize-window` was only introduced in tmux 2.9, which isn't available at least on Ubuntu 18.04 LTS (currently using tmux 2.6) and probably many others. (Clever idea to use tmux here!) --- tests/checks/tmux-complete.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/checks/tmux-complete.fish b/tests/checks/tmux-complete.fish index 58364f627..7eea0fdb5 100644 --- a/tests/checks/tmux-complete.fish +++ b/tests/checks/tmux-complete.fish @@ -17,7 +17,7 @@ $tmux new-session -d $fish -C ' # No autosuggestion from older history. set fish_history "" ' -$tmux resize-window -x 80 -y 10 +$tmux resize-pane -x 80 -y 10 $sleep # Let fish draw a prompt. # Don't escape existing token (#7526).