[PATCH] color: use ui.formatted() to test TTYness, not sys.stdout.isatty()
mg at lazybytes.net
Tue May 3 03:41:03 CDT 2011
Christian Ebert <blacktrash at gmx.net> writes:
> * Christian Ebert on Sunday, May 01, 2011 at 13:25:25 +0100
>> * Brodie Rao on Sunday, May 01, 2011 at 14:04:06 +0200
>>> On May 1, 2011, at 1:28 PM, Christian Ebert wrote:
>> xterm 270 (latest) seems to work now. But not within screen and
>> TERM=screen-256color (latest screen).
>> Terminal.app with Apple-shipped ncurses also displays control
>> chars (MacOS 10.5.8).
> Played around some more. Seems it depends on the value of $TERM. Here
> are the results for the $TERM values I mostly use:
> xterm-256color: ok
> screen-256color: control chars
> nsterm-16color: control chars
I'm also seeing control chars in my Eterm with TERM set to both 'Eterm'
Mercurial links: http://mercurial.ch/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the Mercurial-devel