DECSEL—Selective Erase in Line

This control function erases some or all of the erasable characters in a single line of text. DECSEL erases only those characters defined as erasable by the DECSCA control function. DECSEL works inside or outside the scrolling margins.

Available in: VT Level 4 mode only

Format

CSI
9/11
?
3/15
Ps
3/n
K
4/11

Parameters

Ps
represents the section of the line to erase, as follows:

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