mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-19 09:32:44 +08:00

If a child program crashes with some text rendered below the cursor, we fail to clear that text. For example run vim, "pkill -9 vim" and observe that scrollback-push fails to clean up the leftover text. Fix that.
9 lines
233 B
Fish
9 lines
233 B
Fish
#RUN: %fish %s
|
|
#REQUIRES: command -v tmux
|
|
|
|
isolated-tmux-start
|
|
isolated-tmux send-keys 'bind ctrl-g "commandline -f scrollback-push scrollback-push clear-screen"' Enter C-g
|
|
tmux-sleep
|
|
isolated-tmux capture-pane -p
|
|
# CHECK: prompt 1>
|