Term::ExtendedColor::Xresources::Colorscheme - Colorschemes
use Term::ExtendedColor::Xresources qw(get_xterm_color set_xterm_color); use Term::ExtendedColor::Xresources::Colorscheme qw(get_colorscheme); my $colors = get_colorscheme('xterm'); set_xterm_color($colors);
Term::ExtendedColor::Xresources::Colorscheme provides a lot of pre-defined colorschemes for the terminal.
None by default.
Given a valid colorscheme name, return a hash reference where its keys are the color indexes. Every index is mapped to a corresponding escape sequence that'll change index color n when printed.
Returns a list with all available colorschemes.
Term::ExtendedColor::Xresources, Term::ExtendedColor, Term::ExtendedColor::TTY
Magnus Woldrich CPAN ID: WOLDRICH m@japh.se http://japh.se
None required yet.
Copyright 2010, 2011 the Term::ExtendedColor::Xresources::Colorscheme "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::Xresources, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Term::ExtendedColor::Xresources
CPAN shell
perl -MCPAN -e shell install Term::ExtendedColor::Xresources
For more information on module installation, please visit the detailed CPAN module installation guide.