Part of the command line interface for a program I'm writing calls for multiple progress bars. I can currently update a single line in the console by using the \r
escape sequence with something similar to this:
System.out.printf("\rProcess is %d%% complete", percentageComplete);
However the carriage return only goes back to the start of that line. I want a way of going back two lines (or more generally, any number of lines) and have them both/all update.
Is there any way of doing this?