mirror of https://gitlab.com/ita1024/waf.git
Do not use colors for jython in cmd.exe by default
This commit is contained in:
parent
ea8ff1c6ab
commit
6a73ff9512
|
@ -46,7 +46,7 @@ def enable_colors(use):
|
|||
if use == 1:
|
||||
if not (sys.stderr.isatty() or sys.stdout.isatty()):
|
||||
use = 0
|
||||
if Utils.is_win32:
|
||||
if Utils.is_win32 and os.name != 'java':
|
||||
term = os.environ.get('TERM', '') # has ansiterm
|
||||
else:
|
||||
term = os.environ.get('TERM', 'dumb')
|
||||
|
|
Loading…
Reference in New Issue