title: PyCharm: Up arrow doesn't work in the console on readline prompt
body: <p>I am trying to use PyCharm console with pdb, IPython, ipdb and other software relying on <a href="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html" rel="noreferrer">readline</a> library. The console software use this library to provide command history and autocompletion. When you press up arrow you get the previous command.</p>
  
  <p>However for some reason PyCharm console does not work as expected and pressing up arrow actually moves cursor to the previous row, instead of correctly doing the last command action.</p>
  
  <p><img src="https://i.stack.imgur.com/DwvlO.gif" alt="enter image description here"></p>
  
  <p>Is there a way to configure PyCharm console to behave like a proper terminal and have this working correctly?</p>