title: How to readline infinitely in Node.js
body: <pre><code>while(1){
      rl.question("Command: ",function(answer){
      console.log(answer);
      })
  }
  </code></pre>
  
  <p>Just tried this code, but instead get input one by one, it blink the "Command: " line. I know node.js is non-blocking but i don't know how to fix this problems.</p>