Mercurial > public > mercurial-scm > hg
diff hgext/color.py @ 14145:4b7e4b9db8fb
color: fix using multiple effects
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Sun, 01 May 2011 16:54:48 +0200 |
parents | 4e5a36eeefd1 |
children | ad6ad51cc0dd |
line wrap: on
line diff
--- a/hgext/color.py Sat Apr 30 19:01:24 2011 +0200 +++ b/hgext/color.py Sun May 01 16:54:48 2011 +0200 @@ -290,7 +290,7 @@ s = _styles.get(l, '') if s: effects.append(s) - effects = ''.join(effects) + effects = ' '.join(effects) if effects: return '\n'.join([render_effects(s, effects) for s in msg.split('\n')])