Hack around comint-send-input error.