mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-14 06:12:45 +08:00
![Johannes Altmanninger](/assets/img/avatar_default.png)
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>
|