Fix buffer check; always activate in comint modes