NAME

Term::ExtendedColor::TTY - Set colors in the TTY

SYNOPSIS

use Term::ExtendedColor::TTY;

my $esc_str = set_tty_color(4, 'ff0000');
print $esc_str;

DESCRIPTION

Term::ExtendedColor::TTY provides functions for changing and querying the TTY (or Virtual Console, if you wish) for various resources, such as colors.

EXPORTS

set_tty_color()

Parameters: $index, $color

Returns: $string

# Change color index 5
my $color = set_xterm_color(5, 'ff0000');
print $color;

SEE ALSO

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

AUTHOR

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

Written by Magnus Woldrich

COPYRIGHT

Copyright 2010 Magnus Woldrich <magnus@trapd00r.se>. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.