romkatv/powerlevel10k

Escape sequences cause padding to brake

Closed this issue · 2 comments

broken
Normal

when ANSI Escape Codes
ESC[5m and ESC[25m (set blinking mode and reset blinking mode)
are used the padding counts them as characters, causing the left side bars not to mach up with each other

here is the line that causes it
typeset -g POWERLEVEL9K_TIME_VISUAL_IDENTIFIER_EXPANSION=$'\e[5m\e[25m' ( is the clock icon)

Enclose them in %{...%}.

thank you