title: Java command line interface: having multiple progress bars on different lines using '\r'
body: <p>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 <code>\r</code> escape sequence with something similar to this:</p>
  
  <pre><code>System.out.printf("\rProcess is %d%% complete", percentageComplete);
  </code></pre>
  
  <p>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. </p>
  
  <p>Is there any way of doing this? </p>