Sometimes (rarely) it happens that when I hit enter on a terminal, the command prompt doesn't go to the next line, but it gets printed again on the same line.
My work around is to simply close the terminal and open a new one. Is there any way to avoid this?
Steps to reproduce:
- try to log into mongo with authentication enabled, so that you get the prompt to enter the password, like so:
mongo --authenticationDatabase somedb -u someuser -p
, - then in the password prompt that is shown, hit
ctrl+c
, voila, now everything is on same line
ipython
and then pressedCTRL+C
before it could open, but now I tried again and it works. I don't know, but it's not the first time it happened.mongo
with authentication enabled, so that you get the prompt to enter the password, like:mongo --authenticationDatabase somedb -u someuser -p
, then in the password prompt, hitctrl-c
, voila, now everything is on same line