Add test for forward-char-passive

This commit is contained in:
Mahmoud Al-Qudsi 2024-03-28 00:46:41 -05:00
parent 674c481d87
commit 3980e46d3a

View file

@ -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