mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 05:43:11 +00:00
15 lines
361 B
Fish
15 lines
361 B
Fish
|
#RUN: %fish %s
|
||
|
#REQUIRES: command -v tmux
|
||
|
|
||
|
isolated-tmux-start
|
||
|
|
||
|
isolated-tmux send-keys 'true needle' Enter
|
||
|
# CHECK: prompt 0> true needle
|
||
|
tmux-sleep
|
||
|
isolated-tmux send-keys 'true hay ee hay' Enter
|
||
|
# CHECK: prompt 1> true hay ee hay
|
||
|
isolated-tmux send-keys C-p C-a M-f M-f M-f M-.
|
||
|
# CHECK: prompt 2> true hay needle hay
|
||
|
tmux-sleep
|
||
|
isolated-tmux capture-pane -p
|