arp242/elles

Color not reset when colored string is truncated

Closed this issue · 1 comments

Here's what elles -lw34 / looks like on my system:

When the end of a colored string is replaced with an ellipsis, the color remains active in the next line. I tried it in a few different terminal emulators and always got the same behavior.

$ elles --version
elles v0.1.0 3b9afba1 2024-06-13; go1.22.4 linux/amd64; race=false; cgo=false

I tried it in a few different terminal emulators and always got the same behavior.

I don't think there's anything that should behave different on different terminals, FYI.