term-erase-in-display

term-erase-in-display is a compiled Lisp function in `term.el'.

(term-erase-in-display KIND)

Erase (that is blank out) part of the window.
If KIND is 0, erase from (point) to (point-max);
if KIND is 1, erase from home to point; else erase from home to point-max.