title: How to prevent backspace with Nodejs readline (readable stdin)
body: <p>I wrote a <a href="https://github.com/SBoudrias/Inquirer.js" rel="noreferrer">simple programe</a> to manage command line user interface.</p>
  
  <p>To do so, I use Nodejs Readline API to read the <code>process.stdin</code> Stream.</p>
  
  <p>My problem is that if a user start typing, then press backspace, the complete line is deleted and fallback to default prompt style; until the user press <code>enter</code>. It looks like that:</p>
  
  <pre><code>What's your phone number?:
  # User start typing
  What's your phone number?: 123
  # User press backspace
  &gt; 12
  </code></pre>
  
  <p>(you could test it running the example <a href="https://github.com/SBoudrias/Inquirer.js/tree/master/examples" rel="noreferrer">the repo examples folder</a>)</p>
  
  <p>Is there a way to prevent this behavior? (or to somehow hide it)</p>