Changes for version v6.0.0

  • Drop support for Perl 5.8 and 5.10. Term::ANSIColor now requires Perl 5.12 or later.
  • Term::ANSIColor now uses semantic versioning for the package and module versions, with a v prefix to work with Perl's packaging system.
  • uncolor called on \e[m or the empty string now returns "clear" rather than nothing, since that escape sequence is a valid way to clear all attributes. Thanks, johnsonea. (GitHub #9)
  • Fix handling of the NO_COLOR environment variable so that it has no effect when set to the empty string, as required by the specification. Thanks, Ricardo Signes.
  • Return the string with no changes if no attributes are passed to the colored function instead of raising a warning. Thanks, val.
  • Update the NOTES discussion of supported ECMA-048 attributes to correct multiple inaccuracies and avoid making claims about which attributes are commonly supported. Thanks to G. Branden Robinson for pointing out that xterm now supports italic.
  • Update the URL for information about truecolor support.

Documentation

Modules

Color screen output using ANSI escape sequences