Subject: | Handling input text which already has colors |
This is not a terribly common use case, but you might want to consider using my Text::ANSI::Util's ta_highlight_all() to better highlight text which might already has color in it. Please see:
http://blogs.perl.org/users/steven_haryanto/screenshot-dux-ansi-highlight.png
Regards,
Steven