Mercurial > hg
diff tests/test-branches.t @ 13987:e0f07847f8de
color: add support for terminfo-based attributes and color
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.
author | Danek Duvall <duvall@comfychair.org> |
---|---|
date | Thu, 21 Apr 2011 13:47:45 -0700 |
parents | 05fffd665170 |
children | 301725c3df9a |
line wrap: on
line diff
--- a/tests/test-branches.t Thu Apr 21 21:16:54 2011 +0200 +++ b/tests/test-branches.t Thu Apr 21 13:47:45 2011 -0700 @@ -350,6 +350,8 @@ $ echo "[extensions]" >> $HGRCPATH $ echo "color =" >> $HGRCPATH + $ echo "[color]" >> $HGRCPATH + $ echo "mode = ansi" >> $HGRCPATH $ hg up -C c 3 files updated, 0 files merged, 2 files removed, 0 files unresolved