Terminal Guide

Erase Display Complete

ESC1B[5B 232 J4a
urxvt
xterm
vte
konsole
linuxvc

Erases the complete display, by replacing all cell contents with space.

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.

All erased space is colored according to the current SGR state.

All lines are reset to normal size(i.e. not double height or width).

This unsets the pending wrap state without wrapping.

urxvt ( ✓ )

🛆 Does not reset pending wrap state.

xterm ( ✓ )

🛆 as of xterm 345 this sequence has a bug where when the screen does not contain protected cells but cell protection is still active for newly written cells the newly written cells only are protected when the current protection mode is activated again.

vte ( ✓ )

🛆 Does not reset pending wrap state.

konsole ( ✓ )

🛆 Does not reset pending wrap state. 🛆 Adds screen content to scrollback before erasing the contents.