ECH—Erase Character

This control function erases one or more characters, from the cursor position to the right. ECH clears character attributes from erased character positions. ECH works inside or outside the scrolling margins.

Available in: VT Level 4 mode only

Format

CSI
9/11
Pn
3/n
X
5/8

Parameters

Pn
is the number of characters to erase. A Pn value of 0 or 1 erases one character.
Default: Pn = 1.