News for hackers. Stuff that matters.
Re:How does apt render its fancy progress bar? by katzeilla on Wednesday October 13, 2021 @07:48AM (#28850991)
... and in case you messed up your console, typing `reset` followed by enter will fix it.
Re:How does apt render its fancy progress bar? by julienpalard on Wednesday October 13, 2021 @10:21AM (#28852429)
I had to do it quite a few time when implementing this one ;)

I often type "C-c" or "enter" before typing reset to ensure I have nothing before it in the buffer.

A bit like I often do "Enter Enter ~ .` instead of just `~.` to kill a dying SSH session (I don't know why I hit enter twice here... a single time is enough.) to ensure the ~ is at the beginning of the buffer (if it's not, it won't work).

Re:How does apt render its fancy progress bar? by faho on Wednesday October 13, 2021 @07:59AM (#28851058)
Or, if you managed to mess up the terminal modes and enter doesn't work, try pressing ctrl-j instead.