Mercurial > hg
comparison hgext/color.py @ 8866:87c30fb7e8df
help: remove per-extension paragraph on how to enable it
The central place to find this information is the "extensions" help topic.
author | Cédric Duval <cedricduval@free.fr> |
---|---|
date | Sat, 20 Jun 2009 20:57:13 +0200 |
parents | 5306c6b00e69 |
children | 868670dbc237 |
comparison
equal
deleted
inserted
replaced
8865:37d8a5ddd499 | 8866:87c30fb7e8df |
---|---|
26 | 26 |
27 Other effects in addition to color, like bold and underlined text, are | 27 Other effects in addition to color, like bold and underlined text, are |
28 also available. Effects are rendered with the ECMA-48 SGR control | 28 also available. Effects are rendered with the ECMA-48 SGR control |
29 function (aka ANSI escape codes). This module also provides the | 29 function (aka ANSI escape codes). This module also provides the |
30 render_text function, which can be used to add effects to any text. | 30 render_text function, which can be used to add effects to any text. |
31 | |
32 To enable this extension, add this to your .hgrc file: | |
33 [extensions] | |
34 color = | |
35 | 31 |
36 Default effects may be overridden from the .hgrc file: | 32 Default effects may be overridden from the .hgrc file: |
37 | 33 |
38 [color] | 34 [color] |
39 status.modified = blue bold underline red_background | 35 status.modified = blue bold underline red_background |