diff --git a/pure.zsh b/pure.zsh index 66c8f24..275224a 100644 --- a/pure.zsh +++ b/pure.zsh @@ -68,7 +68,7 @@ prompt_pure_precmd() { command git rev-parse --abbrev-ref @'{u}' &>/dev/null && (( $(command git rev-list --count HEAD...@'{u}' 2>/dev/null) > 0 )) && # some crazy ansi magic to inject the symbol into the previous line - print -Pn "\e[s\e[A\e[1G\e[`prompt_pure_string_length $prompt_pure_preprompt`C%F{cyan}⇣%f\e[u" + print -Pn "\e7\e[A\e[1G\e[`prompt_pure_string_length $prompt_pure_preprompt`C%F{cyan}⇣%f\e8" } &! # reset value since `preexec` isn't always triggered