changeset 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 3c3c53d8343a
children 497493b777ad
files hgext/color.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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')])