Fix color bleed when list appears

%B and %F had a side effect of coloring the redraw of the prompt
when list appears underneath the active line. Added %b and %f to
properly end the coloring.

Not sure if %{ and %} are needed, but added just in case needed.
This commit is contained in:
Pandu POLUAN 2017-10-20 22:04:38 +07:00
commit fa3e210026

View file

@ -99,7 +99,7 @@ ${dgrey}[%*]%{$reset_color%} \
${hg_info}\
${git_info}\
$exit_code$venv_info$other_info
%B%F{red}%# %{$reset_color%}"
%{%B%F{red}%}%#%{%b%f$reset_color%} "
unset RPROMPT