Stuck in command history
If I browse the latest used commands with the arrow keys everything works as it should. But if I am on any item of the history, let's say for example python hello.py and if I move the cursor of just one position either to the right or to the left (meaning on the y letter or a space further the end of the line) I get stuck and I can't scroll the history up or down anymore. I actually can't do anything but hit return key to execute the command I am stuck in or press ctrl + u to erase the current content of the command line I'm stuck in.
I've never found this problem, you have any extensions for ur bash ?
I'm using iTerm2, what do you mean by extension?
I meant extensions to shell like powerline-shell.
@LeonardoGentile can you confirm whether or not this is still an issue?
yes, it is still an issue for me
@LeonardoGentile Try running a prestine shell, i.e. without anything loaded through .bashrc (or whichever shell config you use). Do that by commenting out the entire file. If the issue still exists, try to figure out what lines are causing the issue and please tell us what you find.
@pradyunsg left a helpful comment. Unfortunately I don't have a mac to test using iterm2. I just don't think I'm going to be able to help here and I don't think there have been any other reports of it happening. Seems like it might be specific to your setup. Let me know if there's some way I can be helpful though.