Final byte, must be in range \x40 .. \x7e for CSI and DCS, \x30 .. \x7e for ESC.
OptionalintermediatesOptional intermediate bytes, must be in range \x20 .. \x2f. Usable in CSI, DCS and ESC.
OptionalprefixOptional prefix byte, must be in range \x3c .. \x3f. Usable in CSI and DCS.
Data type to register a CSI, DCS or ESC callback in the parser in the form: ESC I..I F CSI Prefix P..P I..I F DCS Prefix P..P I..I F data_bytes ST
with these rules/restrictions:
For custom sequences make sure to read ECMA-48 and the resources at vt100.net to not clash with existing sequences or reserved address space. General recommendations:
Notes: OSC command registration is handled differently (see addOscHandler) APC, PM or SOS is currently not supported.