From 5e38a2a46b971ab024dee605fb55e1b62e5f6a5b Mon Sep 17 00:00:00 2001 From: Peter Ammon Date: Sun, 16 Feb 2025 12:31:50 -0800 Subject: [PATCH] Get tmux-history-search2.fish passing on macOS --- tests/checks/tmux-history-search2.fish | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/checks/tmux-history-search2.fish b/tests/checks/tmux-history-search2.fish index 8caa5f005..de946e983 100644 --- a/tests/checks/tmux-history-search2.fish +++ b/tests/checks/tmux-history-search2.fish @@ -5,6 +5,7 @@ isolated-tmux-start isolated-tmux send-keys ': 1' Enter isolated-tmux send-keys ': ' M-Up M-Down M-Up M-Up M-Up M-Down Enter +tmux-sleep isolated-tmux send-keys 'echo still alive' Enter tmux-sleep isolated-tmux capture-pane -p @@ -14,8 +15,11 @@ isolated-tmux capture-pane -p # CHECK: still alive # CHECK: prompt 3> -isolated-tmux send-keys 'complete : -xa "foobar foobaz"' Enter \ - C-l ': fooba' Enter C-p Tab +isolated-tmux send-keys 'complete : -xa "foobar foobaz"' Enter +tmux-sleep +isolated-tmux send-keys C-l ': fooba' Enter +tmux-sleep +isolated-tmux send-keys C-p Tab tmux-sleep isolated-tmux capture-pane -p # CHECK: prompt 4> : fooba