DECSED—Selective Erase in Display

This control function erases some or all of the erasable characters in the display. DECSED can only erase characters defined as erasable by the DECSCA control function. DECSED works inside or outside the scrolling margins.

Available in: VT Level 4 mode only

Format

CSI
9/11
?
3/15
Ps
3/n
J
4/10

Parameters

Ps
represents the area of the display to erase, as follows:

Ps Area Erased
0 (default) From the cursor through the end of the display
1 From the beginning of the display through the cursor
2 The complete display