mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 10:01:14 -03:00
@@ -19,7 +19,9 @@ function __fish_cancel_commandline
|
|||||||
echo ""
|
echo ""
|
||||||
end
|
end
|
||||||
commandline ""
|
commandline ""
|
||||||
commandline -f repaint
|
|
||||||
emit fish_cancel
|
emit fish_cancel
|
||||||
end
|
end
|
||||||
|
# Repaint even if we haven't cancelled anything,
|
||||||
|
# so the prompt refreshes and the terminal scrolls to it.
|
||||||
|
commandline -f repaint
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user