diff --git a/tests/checks/tmux-complete.fish b/tests/checks/tmux-complete.fish index a9195f21e..25ea48075 100644 --- a/tests/checks/tmux-complete.fish +++ b/tests/checks/tmux-complete.fish @@ -102,3 +102,15 @@ isolated-tmux send-keys C-e M-f Space nothing tmux-sleep isolated-tmux capture-pane -p # CHECK: prompt 7> echo suggest nothing + +isolated-tmux send-keys C-u 'bind \cs forward-char-passive' Enter C-l +isolated-tmux send-keys C-u 'bind \cp backward-char' Enter C-l +isolated-tmux send-keys C-u 'echo do not accept this' Enter C-l +tmux-sleep +isolated-tmux send-keys 'echo do not accept thi' C-p C-p Delete C-p C-s 'h' +tmux-sleep +isolated-tmux send-keys C-s C-s C-s 'x' +tmux-sleep +isolated-tmux capture-pane -p +tmux-sleep +# CHECK: prompt 10> echo do not accept thix