mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-15 02:14:24 +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
|