diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-04-23 15:07:52 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-04-23 15:07:52 +0000 |
commit | 7cd34c574e0ec69b213965d5f60d415cf5b25f64 (patch) | |
tree | c6b12bcd08f637866011a97669bdf2387541b2c5 /lib/Term | |
parent | d95e864fc6fa3857258c59d025b687e51388c2be (diff) | |
download | perl-7cd34c574e0ec69b213965d5f60d415cf5b25f64.tar.gz |
Upgrade to Term::ANSIColor 1.12.
p4raw-id: //depot/perl@31036
Diffstat (limited to 'lib/Term')
-rw-r--r-- | lib/Term/ANSIColor.pm | 16 | ||||
-rw-r--r-- | lib/Term/ANSIColor/ChangeLog | 14 | ||||
-rw-r--r-- | lib/Term/ANSIColor/README | 5 |
3 files changed, 26 insertions, 9 deletions
diff --git a/lib/Term/ANSIColor.pm b/lib/Term/ANSIColor.pm index 927b61cd46..571d4b0eeb 100644 --- a/lib/Term/ANSIColor.pm +++ b/lib/Term/ANSIColor.pm @@ -1,5 +1,5 @@ # Term::ANSIColor -- Color screen output using ANSI escape sequences. -# $Id: ANSIColor.pm 58 2006-07-12 22:30:55Z eagle $ +# $Id: ANSIColor.pm 64 2007-03-23 17:58:18Z eagle $ # # Copyright 1996, 1997, 1998, 2000, 2001, 2002, 2005, 2006 # by Russ Allbery <rra@stanford.edu> and Zenin @@ -32,7 +32,7 @@ use Exporter (); ON_CYAN ON_WHITE)]); Exporter::export_ok_tags ('constants'); -$VERSION = '1.11_01'; +$VERSION = '1.12'; ############################################################################## # Internal data structures @@ -239,13 +239,13 @@ do anything else with it that you might care to). uncolor() performs the opposite translation, turning escape sequences into a list of strings. -The recognized attributes (all of which should be fairly intuitive) are -clear, reset, dark, bold, underline, underscore, blink, reverse, concealed, -black, red, green, yellow, blue, magenta, on_black, on_red, on_green, +The recognized attributes (all of which should be fairly intuitive) are clear, +reset, dark, bold, underline, underscore, blink, reverse, concealed, black, +red, green, yellow, blue, magenta, cyan, white, on_black, on_red, on_green, on_yellow, on_blue, on_magenta, on_cyan, and on_white. Case is not -significant. Underline and underscore are equivalent, as are clear and -reset, so use whichever is the most intuitive to you. The color alone sets -the foreground color, and on_color sets the background color. +significant. Underline and underscore are equivalent, as are clear and reset, +so use whichever is the most intuitive to you. The color alone sets the +foreground color, and on_color sets the background color. Note that not all attributes are supported by all terminal types, and some terminals may not support any of these sequences. Dark, blink, and diff --git a/lib/Term/ANSIColor/ChangeLog b/lib/Term/ANSIColor/ChangeLog index d488dae6d3..ec78ca2e42 100644 --- a/lib/Term/ANSIColor/ChangeLog +++ b/lib/Term/ANSIColor/ChangeLog @@ -1,3 +1,17 @@ +2007-04-22 Russ Allbery <rra@stanford.edu> + + * ANSIColor.pm: Version 1.12 released. + +2007-03-23 Russ Allbery <rra@stanford.edu> + + * ANSIColor.pm: Use the right syntax for internal POD links. + Thanks, Rafael Garcia-Suarez. + +2007-02-10 Russ Allbery <rra@stanford.edu> + + * ANSIColor.pm: Add cyan and white to the list of supported + attributes. Not sure how I managed to omit them before. + 2006-07-12 Russ Allbery <rra@stanford.edu> * ANSIColor.pm: Version 1.11 released. diff --git a/lib/Term/ANSIColor/README b/lib/Term/ANSIColor/README index cea39dc1cb..4447bf7fb6 100644 --- a/lib/Term/ANSIColor/README +++ b/lib/Term/ANSIColor/README @@ -1,4 +1,4 @@ - Term::ANSIColor version 1.11 + Term::ANSIColor version 1.12 (A simple ANSI text attribute control module) Copyright 1996, 1997, 1998, 2000, 2001, 2002, 2005, 2006 Russ Allbery @@ -101,4 +101,7 @@ THANKS To Helge Kreutzmann for pointing out the need for warnings in the documentation about background colors that span newlines. + To Baron Schwartz for pointing out that cyan and white were missing from + the documentation. + To Larry Wall, as always, for Perl. |