News for hackers. Stuff that matters.
Re:How does apt render its fancy progress bar? by spudlyo on Wednesday October 13, 2021 @02:46PM (#28855833)
Is it though? What if I have my TERM set to 'dumb' because I'm running your CLI command inside a very limited console embedded inside a text editor or other tool? At the very least you should `test -t` in your script to ensure STDOUT isn't being redirected to a file so you don't fill it with garbage escape sequences.

There are no comments on this comment yet.