term-skip-prompt

term-skip-prompt is a compiled Lisp function in `term.el'.

(term-skip-prompt)

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