Handle comint-prompt-read-only like gud.el does. (Bug#20549)
Attach a file by drag & drop or click to upload