CTRL Use alt charset
CTRL save cursor
CSI Use alternate screen buffer
CSI set scrolling region 1-24
S  -1 ┋                                                                                ┋
A      └ normal
CSI Reset Replace mode
S  -1 ┋                                                                                ┋
A      └ normal, normal, normal
CSI Erase all
S   1 ┋Plain text                                                                      ┋
A      ··········└ carriage-return
S   2 ┋        Leading tab                                                             ┋
A      └ inverse          │
A      ········└ normal   │
A      ···················└ carriage-return
S   3 ┋Tab     with text                                                               ┋
A      ·└ inverse       │
A      ········└ normal │
A      ·················└ carriage-return
S   4 ┋Tab     with text #2                                                            ┋
A      ···└ inverse        │
A      ········└ normal    │
A      ····················└ carriage-return
S   5 ┋Two     tabs    with text                                                       ┋
A      ········└ inverse   │    │
A      ··········└ normal  │    │
A      ················└ inverse│
A      ····················└ normal
A      ·························└ carriage-return
S   6 ┋Text with mixed attributes.                                                     ┋
A      ·····└ fg(#800000)         │
A      ·······└ inverse           │
A      ·········└ normal          │
A      ············└ normal       │
A      ···························└ carriage-return
S   7 ┋Text with unicode ▶ characters                                                  ┋
A      ····················└ inverse │
A      ························└ normal
A      ······························└ carriage-return
S   8 ┋                                                                                ┋
A      └ normal
CSI Erase all
CSI Use normal screen buffer
CTRL restore cursor
S  24 ┋                                                                                ┋
A      └ carriage-return
CSI Normal cursor keys
CTRL Normal keypad
