[PATCH 00 of 13] ui: provide ui.write() labeling for simpler output styling/colorizing

Eduard STEFAN alexandrul.ct at gmail.com
Mon Apr 5 12:42:33 CDT 2010


On 2010-04-05 20:23, Steve Borho wrote:
> On Mon, Apr 5, 2010 at 12:15 PM, Eduard STEFAN <alexandrul.ct at gmail.com> wrote:
>> On 2010-04-03 07:41, Steve Borho wrote:
>>> ..., then start work on
>>> making hgext/color.py work natively on a win32 console.
>>
>> Would you be so kind and make it configurable, so I can still
>> select the current color.py output style (ANSI escape codes)?
> 
> I'm not sure what you're asking; but it uses the exact same
> configurables as the ANSI version.

I assume that making color.py work natively on a win32 console
means using SetConsoleTextAttribute in order to set the text color.
IF I'm not wrong, then I would kindly ask you to also add a way
to keep output color information using ANSI escape codes.

Have a nice day,
  Eduard


More information about the Mercurial-devel mailing list