Emit 'fish_cancel' at end of __fish_cancel_commandline.

This helps with shell integration - see issue #5973
"shell-integration - how distringuish winch repaint from ctrl-c cancel".
This commit is contained in:
Per Bothner 2019-07-14 09:33:20 -07:00 committed by Fabian Homborg
parent 47e9e8ab8a
commit 2dcaf4f5c0

View File

@ -20,5 +20,6 @@ function __fish_cancel_commandline
end
commandline ""
commandline -f repaint
emit fish_cancel
end
end