no need to call `zle -R` when using z4h

pull/829/head
Roman Perepelitsa 2020-06-13 17:04:31 +02:00
parent 4d14f9e0ba
commit 3e17260622
1 changed files with 2 additions and 2 deletions

View File

@ -6522,10 +6522,10 @@ function _p9k_reset_prompt() {
setopt prompt_subst
(( __p9k_ksh_arrays )) && setopt ksh_arrays
(( __p9k_sh_glob )) && setopt sh_glob
(( _p9k__can_hide_cursor )) && echoti civis
{
(( _p9k__can_hide_cursor )) && echoti civis
zle .reset-prompt
zle -R
(( ${+functions[z4h]} )) || zle -R
} always {
(( _p9k__can_hide_cursor )) && echoti cnorm
_p9k__cursor_hidden=0