In ansi-term when using mongo console (or 'repl') control codes do not seem to behave properly.
When I move cursor it doesn't get redrawn at a expected location. Instead all entered text get appended to the input. The same goes for backspace. My input does get interpreted, however, it is not displayed correctly.
Here's result of typing 'testtest', then pressing backspace. $TERMINFO value is set to 'eterm-color'
Thanks for any suggestions!