Re:ANSI escape codes (2019)
by db48x on Wednesday February 03, 2021 @09:55AM
(#26014087)
At least call tput or something so that your script doesn't do anything wacky just because you SSH'd in this time instead of using your customary terminal.
[ Parent
| on HN ]
For advanced features, sure. But basic colors are nearly universal.
Until someone runs it in eshell, which is a shell but not a terminal emulator and you have to configure an override just for that special program so that it isn't dumping unreadable garbage into the buffer.