5 ms·
I'd be honest, my approach is "everything is utf-8, right? And every terminal has at least 16 colors at the ready?". It does not degrade gracefully, I checked.
by bronikowski 4y ago
I'd be honest, my approach is "everything is utf-8, right? And every terminal has at least 16 colors at the ready?". It does not degrade gracefully, I checked. It's more of a party trick than something reasonable, but nothing stops you from doing it correctly, it would just be a hassle to serve in a static way (every variation would require a different txt file to be generated and sent).
> EDIT: doesn't work when piping to less.
try -R
- dfbsdfbwe2ef2e 4y ago> try -R works :-)
- bronikowski 4y agoI'm guessing you're on BSD (or maybe Apple)? Their version requires you to tell less there's a raw data at the input.
- dfbsdfbwe2ef2e 4y agoNo, Debian 11. Fresh install too.
- bronikowski 4y agoVery strange, I could have sworn I've tested in without -R with Debian 11 (I can't check, that laptop broke and my other machines are still at 10). Maybe it's terminal definition or something changed. Terminal emulation is a spooking place full of ancient magic. One of the reasons why I assumed "modern defaults". It would turn "a weekend hack" into a session of misery. ;)