busyloop / lolcat

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

lolcat disrespects tabs purpose #146

Open gulhe opened 7 months ago

gulhe commented 7 months ago

It does force replace them with ' ' (8 spaces) And while it is generally fine with me as I don't care too much about it in some specific cases it was a problem.

I have some workaround like

expand <(echo -e "<string with tabs in it>") | lolcat

instead of

echo -e "<string with tabs in it>" | lolcat

But if lolcat could handle that natively that would be great (I'll try to do a PR sometime but I'm no ruby expert)