in reply to Color die and warn messages
i tried using it and noticed occasionally when there is much output, the reset isn't set properly, so all remaining output is colored, even if not from warn/die. sorry, i couldn't figure out a minimal test case to demonstrate.
Re^2: Color die and warn messages
by Anonymous Monk on Apr 09, 2025 at 10:35 UTC
|
It's probably because something is messing with STDERR and putting it into line-buffered mode. I've seen some modules do that. This could probably be fixed using IO::Handle::printflush to print the terminal reset sequence. | [reply] |
|