Terminal Guide

Erase Display Scroll-back

ESC1B[5B 333 J4a
urxvt
xterm
vte
konsole
linuxvc

Erases the scroll-back of the terminal, without changing the non scrollback area.

Does not change the cursor position.

urxvt ( ∅ )

See move view port towards to top of the scroll back buffer and move view port towards the currently active buffer for an alternative.

vte ( ✔ )

🛈 if alternate screen buffer is selected erases scroll-back of primary screen buffer.