mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 00:38:53 +08:00
16 lines
350 B
Fish
16 lines
350 B
Fish
#RUN: %fish %s
|
|
#REQUIRES: command -v tmux
|
|
|
|
isolated-tmux-start
|
|
|
|
isolated-tmux send-keys \
|
|
"sleep 0.5 &" Enter \
|
|
"echo hello"
|
|
sleep 1
|
|
isolated-tmux send-keys Space world
|
|
isolated-tmux capture-pane -p
|
|
# CHECK: prompt 0> sleep 0.5 &
|
|
# CHECK: prompt 0> echo hello
|
|
# CHECK: fish: Job 1, 'sleep 0.5 &' has ended
|
|
# CHECK: prompt 0> echo hello world
|