Term::ExtendedColor::TTY::Colorschemes - Colorschemes for the TTY
use Term::ExtendedColor::TTY qw(set_tty_color); use Term::ExtendedColor::TTY::Colorschemes;
Term::ExtendedColor::TTY::Colorschemes exports functions for retrieving and using colorschemes in the TTY. This is intended to be used with Term::ExtendedColor::TTY.
Parameters: $colorscheme
Returns: \%colorscheme
my $colorscheme = get_colorscheme('xterm');
Returns a hash reference where its keys will be the color index and the value the hexadecimal color value.
Paramters: $string
Returns: @colorschemes
In list context, return a list of all available colorschemes (strings). In scalar context, return the number of available colorschemes.
Term::ExtendedColor::TTY, Term::ExtendedColor::Xresources, Term::ExtendedColor
Magnus Woldrich CPAN ID: WOLDRICH m@japh.se http://japh.se
None required yet.
Copyright 2010, 2011 the Term::ExtendedColor::TTY::Colorschemes "AUTHOR" and "CONTRIBUTORS" as listed above.
This library is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
To install Term::ExtendedColor::TTY, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Term::ExtendedColor::TTY
CPAN shell
perl -MCPAN -e shell install Term::ExtendedColor::TTY
For more information on module installation, please visit the detailed CPAN module installation guide.