mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 19:14:58 +08:00
1e858eae35
This demonstrates that we only write control sequences when interactive.
11 lines
260 B
Fish
11 lines
260 B
Fish
#RUN: %fish %s
|
|
#REQUIRES: command -v tmux
|
|
|
|
isolated-tmux-start
|
|
|
|
isolated-tmux send-keys 'bind alt-g "commandline -p -C -- -4"' Enter C-l
|
|
isolated-tmux send-keys 'echo bar|cat' \eg foo
|
|
tmux-sleep
|
|
isolated-tmux capture-pane -p
|
|
# CHECK: prompt 1> echo foobar|cat
|