title: Undo a newline (\n) printed to command line
body: <pre><code>printf("Error %d\n", 1);
  printf("\nStatus: %d%%", 50);
  </code></pre>
  
  <p>prints </p>
  
  <pre><code>Error 1
  
  Status: 50%
  </code></pre>
  
  <p>In this set up, is there any chance to insert <code>Error 2\n</code> between <code>Error 1\n</code> and <code>\nStatus: 50%</code>. I understand that <code>\r</code> and <code>\b</code> can be used to change printed text <em>in the same</em> line (e.g., if there is a single <code>\n</code> between <code>Error 1</code> and <code>Status: 50%</code>), but can I change text in a previous line?</p>
  
  <p>Thanks!</p>