diff hgext/color.py @ 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 9adce4b38ed1
children 2f0a3977c939
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