wire / terminal-csi / su
SU (final 'S') scrolls the contents of the scroll region up by Pn lines (new blank lines appear at the bottom); SD (final 'T') scrolls down by Pn lines (blank lines appear at the top). The cursor position is unchanged. Both default Pn to 1.
aka: SU · SD · scroll up · scroll down · pan up · pan down · ESC [ S · ESC [ T
CSI introducer: \x1b[ ESC [ (0x1B 0x5B)
terminator (none): ST · BEL
| id | name | bytes (ST) | meaning |
|---|---|---|---|
| su | SU — Scroll Up (S) | \x1b[2S | CSI Pn S scrolls the scroll region up Pn lines; the top Pn lines scroll off and Pn blank lines appear at the bottom. The cursor stays put. |
| sd | SD — Scroll Down (T) | \x1b[2T | CSI Pn T scrolls the scroll region down Pn lines; the bottom Pn lines scroll off and Pn blank lines appear at the top. |
per-fact attribution:
agent: curl -H 'accept: application/json' wire.phall.io/terminal-csi/su
or /terminal-csi/su.json