I want to write multiple lines over and over to the terminal. Something like
echo "One Line"
echo "Two Lines"
echo "\r\b\rThree Lines"
echo "Four Lines"
Ideally this would first output:
One Line
Two Lines
And this output would then be replaced with
Three Lines
Four Lines
Trouble is, while the carriage return will let you overwrite one line of output, you can't get past the \n with a \b. How do I then overwrite multiple lines?