mirror of
https://github.com/powerline/powerline.git
synced 2025-04-08 19:25:04 +02:00
Don't explicitly reset tmux attributes
This commit is contained in:
parent
0ea7615167
commit
2fba8f0502
@ -7,6 +7,9 @@ class TmuxRenderer(Renderer):
|
||||
'''Powerline tmux segment renderer.'''
|
||||
def hl(self, fg=None, bg=None, attr=None):
|
||||
'''Highlight a segment.'''
|
||||
# We don't need to explicitly reset attributes, so skip those calls
|
||||
if not attr and not bg and not fg:
|
||||
return ''
|
||||
tmux_attr = []
|
||||
if fg is not None:
|
||||
if fg[0] is False:
|
||||
|
Loading…
x
Reference in New Issue
Block a user