busyloop / lolcat

Rainbows and unicorns!
BSD 3-Clause "New" or "Revised" License
6.11k stars 219 forks source link

colors rotation breaks at line 47 #96

Closed l3nn4rt closed 5 years ago

l3nn4rt commented 5 years ago
head -n 100 /dev/urandom | tr -cd '[:alnum:]' | fold | cat -n | lolcat

image

m-o-e commented 5 years ago

The same command prints fine here. What version of lolcat do you have?

Does the problem also occur with head -n 100 /dev/urandom | base64 | head -n 70 | lolcat?

l3nn4rt commented 5 years ago

version is lolcat 99.9.21 (c)2011 moe@busyloop.net.

happens also with that command, but is less visible: image

m-o-e commented 5 years ago

Sorry, can't reproduce this here. Weird wraps in the color cycle are normally due to unintended line-breaks, but that doesn't seem to be the case here (still space left on the right of your screenshot).

Things you could try:

l3nn4rt commented 5 years ago

still happening with:

I won't dive deeper into this. leaving open just in case anyone experiments the same "feature" :smile:

m-o-e commented 5 years ago

Bug found and buried. Latest lolcat should restore satisfaction 🌈