News for hackers. Stuff that matters.
Re:How does apt render its fancy progress bar? by MayeulC on Wednesday October 13, 2021 @10:23AM (#28852460)
> you can't really break anything that closing and reopening the terminal won't fix

Or typing `reset`, which is sometimes also necessary after accidentally piping binary to stdout.

Re:How does apt render its fancy progress bar? by p-e-w on Wednesday October 13, 2021 @10:44AM (#28852775)
`reset` won't work if you have used the escape sequence that disables raw mode, at which point the shell won't be able to process keyboard input anymore and you simply cannot issue commands. I'm not aware of any method for fixing this that doesn't involve restarting the terminal.
Re:How does apt render its fancy progress bar? by remram on Wednesday October 13, 2021 @12:01PM (#28853881)
You should still be able to `reset` in line-buffering mode.
Re:How does apt render its fancy progress bar? by anothermindbomb on Wednesday October 13, 2021 @01:23PM (#28854908)
`stty sane` not work?