diff --git a/functions/.znap.prompt b/functions/.znap.prompt index 098e79d..f1a7e03 100644 --- a/functions/.znap.prompt +++ b/functions/.znap.prompt @@ -45,10 +45,8 @@ autoload -Uz add-zsh-hook add-zle-hook-widget promptinit fi setopt NO_promptsp - [[ -o promptcr ]] && - print -n $'\r' - : - print -nPr -- "$PS1" + print -nPr -- "%$COLUMNS<<${(l:$COLUMNS:: :)}$RPS1" + print -nPr -- $'\r'"$PS1" ..znap.tput cnorm # Make cursor normal (visible). true }