comparison mercurial/color.py @ 32027:8b7f794d6a9d

color: also enable by default on windows I've not found anything related to color + windows on the bug tracker. So I'm suggesting we get bolder and turn it on for windows too in the release candidate. We can always backout this changeset if we find serious issue on windows.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Sun, 16 Apr 2017 02:34:08 +0200
parents 57042e91521a
children 9a85ea1daf49
comparison
equal deleted inserted replaced
32026:57042e91521a 32027:8b7f794d6a9d
43 } 43 }
44 except ImportError: 44 except ImportError:
45 curses = None 45 curses = None
46 _baseterminfoparams = {} 46 _baseterminfoparams = {}
47 47
48 _enabledbydefault = pycompat.osname != 'nt' 48 _enabledbydefault = True
49 49
50 # start and stop parameters for effects 50 # start and stop parameters for effects
51 _effects = { 51 _effects = {
52 'none': 0, 52 'none': 0,
53 'black': 30, 53 'black': 30,