Don't explicitly reset tmux attributes

This commit is contained in:
Kim Silkebækken 2013-01-17 20:10:28 +01:00
parent 0ea7615167
commit 2fba8f0502
1 changed files with 3 additions and 0 deletions

View File

@ -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: