mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-23 04:51:16 -03:00
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user