wire / terminal-csi / il
IL (final 'L') inserts Pn blank lines at the cursor row, scrolling lines below downward within the scroll region; DL (final 'M') deletes Pn lines at the cursor row, scrolling lines below upward. Both default Pn to 1 and operate only within the current scroll region (DECSTBM).
aka: IL · DL · insert line · delete line · ESC [ L · ESC [ M
CSI introducer: \x1b[ ESC [ (0x1B 0x5B)
terminator (none): ST · BEL
| id | name | bytes (ST) | meaning |
|---|---|---|---|
| il | IL — Insert Line (L) | \x1b[2L | CSI Pn L inserts Pn blank lines at the cursor row; existing lines from the cursor down scroll downward within the scroll region. Blank lines take the current background color. |
| dl | DL — Delete Line (M) | \x1b[2M | CSI Pn M deletes Pn lines starting at the cursor row; lines below scroll upward and blank lines appear at the bottom of the scroll region. |
per-fact attribution:
agent: curl -H 'accept: application/json' wire.phall.io/terminal-csi/il
or /terminal-csi/il.json