[PATCH 3 of 3] help: update the color documentation for Windows 10 ANSI support

FUJIWARA Katsunori foozy at lares.dti.ne.jp
Tue May 23 10:49:26 EDT 2017


At Tue, 23 May 2017 08:34:15 -0400,
Matt Harbison wrote:
> 
> # HG changeset patch
> # User Matt Harbison <matt_harbison at yahoo.com>
> # Date 1495506779 14400
> #      Mon May 22 22:32:59 2017 -0400
> # Node ID dd667d12b2ff86a8fadc8035ffd8500807774d62
> # Parent  95ef3de9a9883c388dc80bb841fd0f7c41dac06a
> help: update the color documentation for Windows 10 ANSI support
> 
> diff --git a/mercurial/help/color.txt b/mercurial/help/color.txt
> --- a/mercurial/help/color.txt
> +++ b/mercurial/help/color.txt
> @@ -22,7 +22,8 @@
>    The default pager on Windows does not support color, so enabling the pager
>    will effectively disable color.  See :hg:`help config.ui.paginate` to disable
>    the pager.  Alternately, MSYS and Cygwin shells provide `less` as a pager,
> -  which can be configured to support ANSI color mode.
> +  which can be configured to support ANSI color mode.  Windows 10 natively
> +  supports ANSI color mode.

Isn't "recent" or such modifier needed for "Windows 10" ?

I'm not sure that (almost) all existing Windows10 environments are
forcibly updated with ANSI color mode support feature. I've heard that
update of Windows10 can be disabled manually, even though update is
mandatory ordinarily.


>  Mode
>  ====
> diff --git a/mercurial/help/config.txt b/mercurial/help/config.txt
> --- a/mercurial/help/config.txt
> +++ b/mercurial/help/config.txt
> @@ -415,7 +415,7 @@
>  ``mode``
>      String: control the method used to output color. One of ``auto``, ``ansi``,
>      ``win32``, ``terminfo`` or ``debug``. In auto mode, Mercurial will
> -    use ANSI mode by default (or win32 mode on Windows) if it detects a
> +    use ANSI mode by default (or win32 mode prior to Windows 10) if it detects a
>      terminal. Any invalid value will disable color.
>  
>  ``pagermode``
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

-- 
----------------------------------------------------------------------
[FUJIWARA Katsunori]                             foozy at lares.dti.ne.jp


More information about the Mercurial-devel mailing list