Terminal Guide

Erase Line Left

ESC1B[5B 131 K4b
urxvt
xterm
vte
konsole
linuxvc

Erase the left side of the line where the cursor is currently placed starting from (including) the current cursor position, by replacing all cells with spaces.

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 line [dispatch] it will not erase protected cells in either protection semantics.

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.

Does not change the cursor position.

This unsets the pending wrap state without wrapping.

Margins from left and right margin do not apply for this sequence.

urxvt ( ✓ )

🛆 Does not unset pending wrap state.

xterm ( ✓ )

🛆 As of xterm 346 split multi column cells are erased using the current SGR state instead of keeping the background color.

konsole ( ✔ )

TODO investigate how splitting multi cell characters works here in detail.

linuxvc ( ✓ )

🛆 Does not erase split multi cell characters. (linuxvc uses 2 replacement characters for multi cell characters)