Preserve mode line when calling comint-redirect-setup. comint-redirect-previous-input-string is defined only in new versions of comint.el