comint has comint-prompt-read-only, use it