title: OSX remote_api_shell.py Can no longer use arrow keys to load previously executed lines / navigate
body: <p>I used to be able to press up and down to cycle through previous commands that I had run in the <code>remote_api_shell.py</code>, and left and right to move the cursor within a line I was about to submit to the interactive console.</p>
  
  <p>For some reason that just stopped working</p>
  
  <p>Pressing up, up, down, left, right now causes the following to be appended to the current line instead:</p>
  
  <pre><code>^[[A^[[A^[[B^[[D^[[C
  </code></pre>
  
  <p>When I exit, I'm still able to do all this in bash. Anyone know what could cause this to stop working?</p>