hgext/color.py
branchstable
changeset 13635 c9ddc39c21b6
parent 13361 5b4252364ff9
child 13638 72040d98ff0a
child 13641 2420cb1ea1d6
equal deleted inserted replaced
13632:33a33f19aad2 13635:c9ddc39c21b6
    24 commands to highlight additions, removals, diff headers, and trailing
    24 commands to highlight additions, removals, diff headers, and trailing
    25 whitespace.
    25 whitespace.
    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).
    30 render_text function, which can be used to add effects to any text.
       
    31 
    30 
    32 Default effects may be overridden from your configuration file::
    31 Default effects may be overridden from your configuration file::
    33 
    32 
    34   [color]
    33   [color]
    35   status.modified = blue bold underline red_background
    34   status.modified = blue bold underline red_background