Subject: | Add ITALIC support |
There's only one styling code really missing from this module that I can see and thats the italic flag \e[3m
Quite a few terminals support this flag , such as urxvt.
Reasonably easy to implement,
italic => 3
In %ATTRIBUTES aught to do the trick.
As a hack for others using Term::ANSIColor until this is implemented, they can do
---
use Term::ANSIColor qw( :constants );
BEGIN {
$Term::ANSIColor::ATTRIBUTES{italic} = 3;
}
sub ITALIC() { Term::ANSIColor::ITALIC(@_) }
---
And it should just work with all the right automagic.