cmd = 0 See these sub commands:
| urxvt | xterm | vte | konsole | linuxvc | other | |||
|---|---|---|---|---|---|---|---|---|
|
ESC [
0
J
| Erase Display Below | ✓ | ✓ | ✔ | ✓ | ✓ | ||
|
ESC [
1
J
| Erase Display Above | ✓ | ✓ | ✔ | ✓ | ✓ | ||
|
ESC [
2
J
| Erase Display Complete | ✓ | ✓ | ✓ | ✓ | ✔ | ||
|
ESC [
3
J
| Erase Display Scroll-back | ∅ | ✔ | ✔ | ✔ | ✔ |
xterm has an option to scroll one screen full before clearing the screen