Erase the screen from the current cursor position down. The side left of current cursor position on the line of the current cursor position is not erased.
In it's basic variant it will erase protected cells only when the semantics of select character protection attribute are active. When called as selective erase display [dispatch] it will not erase protected cells in either protection semantics.
The current scroll region is ignored by this command.
If the cursor is in the top left corner of the screen (ignoring the current scroll region) then this invokes erase display complete.
Erase the right side of the line where the cursor is currently placed starting from (including) the current cursor position, by replacing all cells with spaces.
All lines below the current cursor position are erased, by replacing all cell contents with space. These lines are reset to normal size(i.e. not double height or width).
If the erase splits a multi cell character that character is erased by replacing it with spaces, keeping its current attributes.
The erased space is colored according to the current SGR state.
This unsets the pending wrap state without wrapping.
Resets the wrap heuristics so the lines erased are not considered to be wrapped.
Does not change the cursor position.
🛆 Does not erase split multi cell characters. 🛆 Does not unset pending wrap state.
🛆 As of xterm 346 split multi column cells are erased using the current SGR state instead of keeping the background color.
🛆 Does not unset the pending wrap state. 🛆 Does not erase split multi cell characters. 🛆 Since version 21.08.0, reset to normal size is only done if cursor is in the left most column.
🛆 Does not erase split multi cell characters. (linuxvc uses 2 replacement characters for multi cell characters)