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.
[ Parent
| on HN ]
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).