mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
parent
1fdb23637a
commit
9efb7fd5f6
1 changed files with 3 additions and 1 deletions
|
@ -19,7 +19,9 @@ function __fish_cancel_commandline
|
|||
echo ""
|
||||
end
|
||||
commandline ""
|
||||
commandline -f repaint
|
||||
emit fish_cancel
|
||||
end
|
||||
# Repaint even if we haven't cancelled anything,
|
||||
# so the prompt refreshes and the terminal scrolls to it.
|
||||
commandline -f repaint
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue