diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-11-08 16:55:13 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-11-08 16:55:13 +0300 |
commit | ff305e3d45e75a4603de21699439c54589d27c08 (patch) | |
tree | fd8f5ec17dade33704c19ea6be13f31409059073 /internal/p10k.zsh | |
parent | 6294e59268c91abc5be421dc9ea1fe32e3ed8a31 (diff) |
bug fix: missing \r in sp emulation
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r-- | internal/p10k.zsh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh index f3b4ca27..c4e45286 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -3934,6 +3934,7 @@ function _p9k_clear_instant_prompt() { local mark="${PROMPT_EOL_MARK-%B%S%#%s%b}" _p9k_prompt_length $mark local -i fill=$((COLUMNS > _p9k_ret ? COLUMNS - _p9k_ret : 0)) + local cr=$'\r' local sp="${(%):-%b%k%f%s%u$mark${(pl.$fill.. .)}$cr%b%k%f%s%u%E}" print -rn -- $terminfo[rc]${(%):-%b%k%f%s%u}$terminfo[ed] if [[ -n ${(S)content//$'\e'*$'\a'} ]]; then |