Sometimes, when I scroll up in eshell, point leaves the command prompt line to stay in the visible area. When I then enter a command, I don't enter the command at the prompt, but rater insert the text somewhere into the output of previously called commands. This is pretty annoying.
How can I make sure that eshell returns point to the command prompt when I enter a char, just like in other shells?
/edit: Here is a screencast of the situation. I type ls
, then I scroll up to review the output, then decide that I want to do a cd ..
, but because it just inserts the command at point, it turns out to be garbage.
M->
.