color: add missing 'dim' in _effects stable
authorSean Farley <sean.michael.farley@gmail.com>
Sun, 18 Jan 2015 22:24:14 -0800
branchstable
changeset 23925 e563e0cfe08c
parent 23924 0db6810e84e8
child 23926 fea3416f2440
color: add missing 'dim' in _effects It seems that this has been missing for people running in 'ansi' mode.
hgext/color.py
--- a/hgext/color.py	Sat Jan 17 15:03:41 2015 -0800
+++ b/hgext/color.py	Sun Jan 18 22:24:14 2015 -0800
@@ -156,7 +156,7 @@
 # start and stop parameters for effects
 _effects = {'none': 0, 'black': 30, 'red': 31, 'green': 32, 'yellow': 33,
             'blue': 34, 'magenta': 35, 'cyan': 36, 'white': 37, 'bold': 1,
-            'italic': 3, 'underline': 4, 'inverse': 7,
+            'italic': 3, 'underline': 4, 'inverse': 7, 'dim': 2,
             'black_background': 40, 'red_background': 41,
             'green_background': 42, 'yellow_background': 43,
             'blue_background': 44, 'purple_background': 45,