hgext/color.py
changeset 13638 72040d98ff0a
parent 13635 c9ddc39c21b6
child 13648 d943efb9701f
equal deleted inserted replaced
13637:4e976235c985 13638:72040d98ff0a
    16 # with this program; if not, write to the Free Software Foundation, Inc.,
    16 # with this program; if not, write to the Free Software Foundation, Inc.,
    17 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
    17 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
    18 
    18 
    19 '''colorize output from some commands
    19 '''colorize output from some commands
    20 
    20 
    21 This extension modifies the status and resolve commands to add color to their
    21 This extension modifies the status and resolve commands to add color
    22 output to reflect file status, the qseries command to add color to reflect
    22 to their output to reflect file status, the qseries command to add
    23 patch status (applied, unapplied, missing), and to diff-related
    23 color to reflect patch status (applied, unapplied, missing), and to
    24 commands to highlight additions, removals, diff headers, and trailing
    24 diff-related commands to highlight additions, removals, diff headers,
    25 whitespace.
    25 and trailing 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).
    29 function (aka ANSI escape codes).
    30 
    30