mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-16 06:02:44 +08:00
![Fabian Boehm](/assets/img/avatar_default.png)
Some checks are pending
make test / ubuntu (push) Waiting to run
make test / ubuntu-32bit-static-pcre2 (push) Waiting to run
make test / ubuntu-asan (push) Waiting to run
make test / macos (push) Waiting to run
Rust checks / rustfmt (push) Waiting to run
Rust checks / clippy (push) Waiting to run
20 lines
490 B
Fish
20 lines
490 B
Fish
#RUN: %fish %s
|
|
#REQUIRES: command -v tmux
|
|
|
|
isolated-tmux-start
|
|
|
|
isolated-tmux send-keys \
|
|
"sleep 0.5 &" Enter
|
|
sleep 0.1
|
|
isolated-tmux send-keys \
|
|
"echo hello"
|
|
sleep 0.6
|
|
isolated-tmux send-keys Space world
|
|
sleep 0.1
|
|
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
|
|
# (I've seen this print " world", I guess it depends on tmux version and how big it thinks the terminal is)
|
|
# CHECK: {{.*}} world
|