Mercurial > hg > mercurial-source
changeset 23937:e563e0cfe08c stable
color: add missing 'dim' in _effects
It seems that this has been missing for people running in 'ansi' mode.
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Sun, 18 Jan 2015 22:24:14 -0800 |
parents | 0db6810e84e8 |
children | fea3416f2440 |
files | hgext/color.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/color.py +++ b/hgext/color.py @@ -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,