##// END OF EJS Templates
color: add support for terminfo-based attributes and color...
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.

File last commit:

r13967:f85c9b0f default
r13987:e0f07847 default
Show More
test-i18n.t
24 lines | 623 B | text/troff | Tads3Lexer
Translations are optional:
$ "$TESTDIR/hghave" gettext || exit 80
Test that translations are compiled and installed correctly.
Default encoding in tests is "ascii" and the translation is encoded
using the "replace" error handler:
$ LANGUAGE=pt_BR hg tip
abortado: no repository found in '$TESTTMP' (.hg not found)!
[255]
Using a more accomodating encoding:
$ HGENCODING=UTF-8 LANGUAGE=pt_BR hg tip
abortado: no repository found in '$TESTTMP' (.hg not found)!
[255]
Different encoding:
$ HGENCODING=Latin-1 LANGUAGE=pt_BR hg tip
abortado: no repository found in '$TESTTMP' (.hg not found)!
[255]