Okay, I hacked up Term::Visual a bit and came up with a patch one can apply to Term/Visual.pm:
@@ -148,6 +148,7 @@
$kernel->alias_set( $alias );
$console = POE::Wheel::Curses->new( InputEvent => 'private_input');
+ use_default_colors();
my $old_mouse_events = 0;
mousemask(0, $old_mouse_events);
@@ -1354,6 +1355,7 @@
re => COLOR_RED, red => COLOR_RED,
wh => COLOR_WHITE, white => COLOR_WHITE,
ye => COLOR_YELLOW, yellow => COLOR_YELLOW,
+ de => -1, default => -1,
);
my %attribute_table =
Works a charm now ^_^ you just have to set colors as 'de' or 'default'.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.