mirror of
https://github.com/powerline/powerline.git
synced 2025-07-31 01:35:40 +02:00
Fix bold attr that may leak into next segment
This commit is contained in:
parent
b1f9edab4c
commit
83ed36903c
@ -26,7 +26,7 @@ class ShellRenderer(Renderer):
|
|||||||
False, the argument is reset to the terminal defaults. If an argument
|
False, the argument is reset to the terminal defaults. If an argument
|
||||||
is a valid color or attribute, it's added to the ANSI escape code.
|
is a valid color or attribute, it's added to the ANSI escape code.
|
||||||
'''
|
'''
|
||||||
ansi = []
|
ansi = [0]
|
||||||
if fg is not None:
|
if fg is not None:
|
||||||
if fg is False or fg[0] is False:
|
if fg is False or fg[0] is False:
|
||||||
ansi += [39]
|
ansi += [39]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user