Submitting a command (including from a restored prompt after cancellation) does not correctly reset the input history index. This causes the Up Arrow key to skip the most recently submitted command when the user begins scrolling through history again.
Submitting a command (including from a restored prompt after cancellation) does not correctly reset the input history index. This causes the Up Arrow key to skip the most recently submitted command when the user begins scrolling through history again.