title: C - Remove a newline character that has already been printed
body: <p>How can I remove a newline character that has already been printed and loaded onto the buffer? As far as I know, the <code>\b</code> character only moves the cursor back in the current line, and doesn't work with newline characters. How can I get around this?</p>
  
  <p><strong><em>It would be helpful if the question were edited to indicate how this undesirable newline was emitted. –  Mahonri Moriancumer</em></strong></p>
  
  <p>It is actually not undesirable. I want to preview the user with one state of the buffer, before outputting the other one. I do not however, want to continuously display multiple buffer-states. For instance, say I want to display two matrices,</p>
  
  <pre><code>1 1 1 1
  1 1 1 1
  1 1 1 1
  1 1 1 1
  </code></pre>
  
  <p>and </p>
  
  <pre><code>0 0 0 0
  0 0 0 0
  0 0 0 0
  0 0 0 0
  </code></pre>
  
  <p>I want the second matrix to replace the first one. To do this, I need to remove the first matrix's outputted numbers.</p>
  
  <p><strong>Perhaps you might consider editing your question again and indicating the OS and/or terminal type?</strong></p>
  
  <p>Currently running Linux (Ubuntu) x64, using xterm (ROXTerm to be exact).</p>