color.py - clear _terminfo_params in win32 mode

This commit is contained in:
Andrei Vermel 2011-07-29 15:36:27 +04:00
parent 573390f2a4
commit 13bbba1de3

View File

@ -180,6 +180,7 @@ def _modesetup(ui, opts):
realmode = 'ansi'
if realmode == 'win32':
_terminfo_params = {}
if not w32effects:
if mode == 'win32':
# only warn if color.mode is explicitly set to win32