1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-12 08:10:07 +00:00

bug fix: clear bold when drawing the end of a powerline

This commit is contained in:
romkatv 2019-05-21 07:54:57 +02:00
parent 1ba90abd4a
commit 4e81de5322

View file

@ -403,7 +403,7 @@ prompt_background_jobs() {
function _p9k_left_prompt_end_line() { function _p9k_left_prompt_end_line() {
_p9k_get_icon LEFT_SEGMENT_SEPARATOR _p9k_get_icon LEFT_SEGMENT_SEPARATOR
_p9k_escape_rcurly $_P9K_RETVAL _p9k_escape_rcurly $_P9K_RETVAL
_P9K_PROMPT+="%k" _P9K_PROMPT+="%k%b"
_P9K_PROMPT+="\${_P9K_N::=}" _P9K_PROMPT+="\${_P9K_N::=}"
_P9K_PROMPT+="\${\${\${_P9K_BG:#NONE}:-\${_P9K_N:=1}}+}" _P9K_PROMPT+="\${\${\${_P9K_BG:#NONE}:-\${_P9K_N:=1}}+}"
_P9K_PROMPT+="\${\${_P9K_N:=2}+}" _P9K_PROMPT+="\${\${_P9K_N:=2}+}"