diff options
author | he <he@pkgsrc.org> | 2009-01-20 00:33:42 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2009-01-20 00:33:42 +0000 |
commit | 9e705de7c45516419d70e56bbc34dd92d3adb85d (patch) | |
tree | 912a6921fb0c08a0e8bb5244b2b6a0839c4074a1 /archivers/gtar-base/distinfo | |
parent | 1127a36cdcf570d2f828a6f0d52e5516a3d04336 (diff) | |
download | pkgsrc-9e705de7c45516419d70e56bbc34dd92d3adb85d.tar.gz |
Import p5-Term-ANSIColor version 1.12.
This module has two interfaces, one through color() and colored()
and the other through constants. It also offers the utility function
uncolor(), which has to be explicitly imported to be used (see
"SYNOPSIS").
color() takes any number of strings as arguments and considers them
to be space-separated lists of attributes. It then forms and returns
the escape sequence to set those attributes. It doesn't print it
out, just returns it, so you'll have to print it yourself if you
want to (this is so that you can save it as a string, pass it to
something else, send it to a file handle, or do anything else with
it that you might care to).
uncolor() performs the opposite translation, turning escape sequences
into a list of strings.
Diffstat (limited to 'archivers/gtar-base/distinfo')
0 files changed, 0 insertions, 0 deletions