hgext/color.py
changeset 8866 87c30fb7e8df
parent 8685 5306c6b00e69
child 8894 868670dbc237
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