Is there a way to write multiple lines to the console (STDOUT) at the
same locations? For example, I’d like to show % progress for several
tasks at the same time as follows:
Task #1: 20%
Task #2: 75%
Task #3: 60%
That is, I only want to update the % numbers without outputting
I know “\r” does the trick for one line, but not for multiple lines.