Lines Matching defs:color

26 @EXPORT      = qw(color colored);
120 # Return the escape code for a given set of color attributes.
121 sub color {
137 # Return a list of named color attributes for a given set of escape codes.
183 my $attr = color (@codes);
188 color (@codes) . $string . "\e[0m";
207 print color 'bold blue';
209 print color 'reset';
228 This module has two interfaces, one through color() and colored() and the
232 color() takes any number of strings as arguments and considers them to be
247 reset, so use whichever is the most intuitive to you. The color alone sets
248 the foreground color, and on_color sets the background color.
264 then the contents of that array will be taken as attributes and color codes
280 the same as color('attribute') and can be used if you prefer typing:
306 misspelled names of colors or attributes in calls to color() and colored()
322 (F) You probably mistyped a constant color name such as:
335 (F) You passed an invalid attribute name to either color() or colored().
339 (W) You probably mistyped a constant color name such as:
341 print FOOBAR "This text is color FOOBAR\n";
348 (F) You probably mistyped a constant color name such as:
350 print FOOBAR, "This text is color FOOBAR\n";
354 color name.
370 module (color(), colored(), and all of the constants not previously used in
377 before any color constants are used in the program.
400 complying with ECMA-48 and ISO 6429 (generally referred to as "ANSI color"
401 for the color codes). The non-color control codes (bold, dark, italic,
424 PuTTY yes color no yes no yes no
426 Cygwin SSH yes yes no color color color yes