Prevent comint from jumping around.