Not moving cursor to prompt in comint-like modes
In modes that are "comint-like" evil does not appear to move the cursor to the new prompt upon the completion of a command.
This can be reproduced in emacs 24.2.1 and when running with emacs -Q with evil as the only loaded extension. The commit I'm using to reproduce the problem is ebd97ad4d192b17611b6805884293b43a68b1360
To better illustrate what the problem is, here is an example: when using eshell and running
git status I notice that emacs moves the cursor to the beginning of the line where the command was entered (cursor = <|>):
~ $ git status <|>
<|>~ $ git status fatal: Not a git repository (or any parent up to mount parent ) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). ~ $
This only seems to happen with certain commands and I can't seem to track down the source of this problem.
I did however go back to an earlier version to double check that it wasen't happening before. The last commit that I was using on my computer which did not exhibit the behaviour was 694edbfd9e60d1607455e31e243b0d545861c07a so the problem must have arisen between those two commits.