Function: comint-skip-prompt

Skip past the text matching regexp `comint-prompt-regexp'.
If this takes us past the end of the current line, don't skip at all.
(fn)