[PATCH] color.py: clear _terminfo_params in win32 mode
Matt Mackall
mpm at selenic.com
Fri Jul 29 14:48:41 UTC 2011
On Fri, 2011-07-29 at 15:48 +0400, Andrei Vermel wrote:
> # HG changeset patch
> # Date 1311939387 -14400
> # User Andrei Vermel <avermel at mail.ru>
> # Parent b26bc60b536646a7c83934fab88749641faed230
> color.py: clear _terminfo_params in win32 mode
What is this for?
> diff --git a/hgext/color.py b/hgext/color.py
> --- a/hgext/color.py
> +++ b/hgext/color.py
> @@ -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
>
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list