mirror of
https://github.com/zdharma-continuum/history-search-multi-word
synced 2024-11-25 04:40:21 +00:00
Clear prompt text when aborted via Ctrl-C
This commit is contained in:
parent
9d146b61d2
commit
877cf3df28
1 changed files with 2 additions and 0 deletions
|
@ -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=""
|
||||
|
||||
|
|
Loading…
Reference in a new issue