comint-skip-input

comint-skip-input is a compiled Lisp function in `comint.el'.

(comint-skip-input)

Skip all pending input, from last stuff output by interpreter to point.
This means mark it as if it had been sent as input, without sending it.