c-hudson / muddler

Perl based mud client reminiscent of TinyFugue
3 stars 1 forks source link

colour bleed into log timstamps #2

Closed ashak closed 3 months ago

ashak commented 3 months ago

If i have coloured output that's not reset, the next log line timestamp retains that colour

image

c-hudson commented 3 months ago

This should be fixed in the latest commit. The logging function was taking the output from the world and writing verbatim. This should be fixed now. Also, The ansi_init function did not protect against color bleeding but this may or may not have been seen as the ansi_substr() function might have corrected the issue dependent upon wrapping.