The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Term::ExtendedColor::TTY::Colorschemes - Colorschemes for the TTY

SYNOPSIS

    use Term::ExtendedColor::TTY qw(set_tty_color);
    use Term::ExtendedColor::TTY::Colorschemes;

DESCRIPTION

Term::ExtendedColor::TTY::Colorschemes exports functions for retrieving and using colorschemes in the TTY. This is intended to be used with Term::ExtendedColor::TTY.

EXPORTS

get_colorscheme()

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.

get_colorschemes()

Paramters: $string

Returns: @colorschemes

In list context, return a list of all available colorschemes (strings). In scalar context, return the number of available colorschemes.

SEE ALSO

Term::ExtendedColor::TTY, Term::ExtendedColor::Xresources, Term::ExtendedColor

AUTHOR

  Magnus Woldrich
  CPAN ID: WOLDRICH
  m@japh.se
  http://japh.se

CONTRIBUTORS

None required yet.

COPYRIGHT

Copyright 2010, 2011 the Term::ExtendedColor::TTY::Colorschemes "AUTHOR" and "CONTRIBUTORS" as listed above.

LICENSE

This library is free software; you may redistribute it and/or modify it under the same terms as Perl itself.