changeset 14989:9e9d4a762586 stable

color.py - clear _terminfo_params in win32 mode
author Andrei Vermel <avermel@mail.ru>
date Fri, 29 Jul 2011 15:36:27 +0400
parents e6730f9e13bc
children 494b26ad8736
files hgext/color.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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