title: raw_input and print in a thread
body: <p>I have a thread which can print some text on the console and the main program have a <code>raw_input</code> to control the thread.</p>
  <p>My problem is when I'm writing and the thread too I get something like this:</p>
  <pre><code>--&gt;whatiwWHATTHETHREADWRITErite
  </code></pre>
  <p>but I would like to get some thing like this</p>
  <pre><code>WHATTHETHREADWRITE
  --&gt;whatiwrite
  </code></pre>