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…
Reference in New Issue