Thank you Corion.
That makes sense, but it doesn't exactly solve my problem. I don't want to make this change in every part of the code where I'm displaying something.
I guess, most of my print statements are in the same file in fact, apart from exceptions. (Edit: In fact I just realized that I would really like these exceptions to be colourized...)
I'll try this tomorrow. But I'm still wondering if there is a better way...
In reply to Re^2: Ter::ANSIColor is awesome, but.. (need help)
by mascip
in thread Term::ANSIColor is awesome, but.. (need help)
by mascip
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |