##// END OF EJS Templates
color: document that labels are used for colorizing text...
Jordi Gutiérrez Hermoso -
r22462:fbd67cf3 default
parent child Browse files
Show More
@@ -19,7 +19,16 b' terminal codes used to change color and '
19 available, then effects are rendered with the ECMA-48 SGR control
19 available, then effects are rendered with the ECMA-48 SGR control
20 function (aka ANSI escape codes).
20 function (aka ANSI escape codes).
21
21
22 Default effects may be overridden from your configuration file::
22 Text receives color effects depending on the labels that it has. Many
23 default Mercurial commands emit labelled text. You can also define
24 your own labels in templates using the label function, see :hg:`help
25 templates`. A single portion of text may have more than one label. In
26 that case, effects given to the last label will override any other
27 effects. This includes the special "none" effect, which nullifies
28 other effects.
29
30 The following are the default effects for some default labels. Default
31 effects may be overridden from your configuration file::
23
32
24 [color]
33 [color]
25 status.modified = blue bold underline red_background
34 status.modified = blue bold underline red_background
General Comments 0
You need to be logged in to leave comments. Login now