Next: Inserting and deleting, Previous: Cursor motion, Up: Terminal escapes
These commands "erase" part of the sub-buffer. Erasing means replacing by white space; it is not the same as deleting. The relative screen positions of things that are not erased remain unchanged with each other, as does the relative cursor position.
Erase from cursor to end of screen.
Same as E [ J.
Erase from home position to point.
Erase whole sub-buffer.
Erase from point to end of screen line.
Same as E [ K.
Erase from beginning of screen line to point.
Erase whole screen line.