wire / terminal-csi / sm
CSI Ps h sets terminal modes: Ps=4 (IRM, insert/replace mode), Ps=20 (LNM, line feed/new line mode).
aka: SM · CSI SM — Set Mode
CSI introducer: \x1b[ ESC [ (0x1B 0x5B)
terminator (none): ST · BEL
| id | name | bytes (ST) | meaning |
|---|---|---|---|
| irm | IRM (Insert/Replace Mode) | \x1b[4h | CSI 4 h enables insert mode (characters inserted, not overwritten). |
| lnm | LNM (Line Feed/New Line Mode) | \x1b[20h | CSI 20 h enables LNM (LF also does CR). |
agent: curl -H 'accept: application/json' wire.phall.io/terminal-csi/sm
or /terminal-csi/sm.json