color.py - clear _terminfo_params in win32 mode stable
authorAndrei Vermel <avermel@mail.ru>
Fri, 29 Jul 2011 15:36:27 +0400
branchstable
changeset 14989 9e9d4a762586
parent 14988 e6730f9e13bc
child 14990 494b26ad8736
color.py - clear _terminfo_params in win32 mode
hgext/color.py
--- a/hgext/color.py	Sun Jul 31 21:00:44 2011 +0200
+++ b/hgext/color.py	Fri Jul 29 15:36:27 2011 +0400
@@ -180,6 +180,7 @@
             realmode = 'ansi'
 
     if realmode == 'win32':
+        _terminfo_params = {}
         if not w32effects:
             if mode == 'win32':
                 # only warn if color.mode is explicitly set to win32