mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-22 12:18:56 +08:00

The previous commit switched to using screen-256color instead of tmux-256color, which makes these tests pass. This reverts commit 1c4bb214d2aaa90a9da28ba8b3e88a871d57460b.
21 lines
463 B
Fish
21 lines
463 B
Fish
#RUN: %fish %s
|
|
#REQUIRES: command -v tmux
|
|
|
|
set -g isolated_tmux_fish_extra_args -C '
|
|
function fish_prompt; printf "prompt $status_generation> <$prompt_var> "; end
|
|
function on_prompt_var --on-variable prompt_var
|
|
commandline -f repaint
|
|
end
|
|
'
|
|
|
|
isolated-tmux-start
|
|
|
|
isolated-tmux capture-pane -p
|
|
# CHECK: prompt 0> <>
|
|
|
|
set -q CI && set sleep sleep 10
|
|
set -U prompt_var changed
|
|
tmux-sleep
|
|
isolated-tmux capture-pane -p
|
|
# CHECK: prompt 0> <changed>
|