[PATCH] color: add support for terminfo-based attributes and color

Danek Duvall duvall at comfychair.org
Wed Aug 26 21:14:10 CDT 2009


Using terminfo instead of hard-coding ECMA-48 control sequences provides a
greater assurance that the terminal codes are correct for the current
terminal type; not everything supports the ANSI escape codes.

It also allows us to use a wider range of colors when a terminal emulator
supports it (such as 16- or 256-color xterm), and a few more non-color
attributes, such as the ever-popular blink.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: hg.patch
Type: text/x-patch
Size: 8069 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090826/97887005/attachment.bin 


More information about the Mercurial-devel mailing list