News for hackers. Stuff that matters.
Re:How does apt render its fancy progress bar? by klodolph on Wednesday October 13, 2021 @10:43AM (#28852747)
Imagine living in a world where OpenGL has been around since the 1970s, stable for a long time, and where there’s no sign of Vulkan on the horizon.

That’s the world of terminals. There’s no sign that the way terminals work is going to change. These standard escape sequences are old.

Re:How does apt render its fancy progress bar? by fiddlerwoaroof on Wednesday October 13, 2021 @11:42AM (#28853617)
Until your program is run in a emacs window (lint-staged’s progress bars mess up magit’s output buffer, making it really difficult to figure out what the problem is) or is piped through grep.

tput will do the right thing because of terminfo, hand-coded escape sequences will make someone curse you.