Clear prompt text when aborted via Ctrl-C

This commit is contained in:
Sebastian Gniazdowski 2016-07-06 07:56:44 +02:00
parent 9d146b61d2
commit 877cf3df28

View file

@ -181,6 +181,8 @@ if [ "$__hsmw_hcw_call_count" -eq "1" ]; then
if zle .recursive-edit -K hsmw; then
BUFFER="${__hsmw_hcw_found[__hsmw_hcw_index]}"
CURSOR="${#BUFFER}"
else
BUFFER=""
fi
POSTDISPLAY=""