Handles various control sequences for the terminal emulator. Includes CSI, OSC, DCS, PM, and APC sequence handling.
APC Sequences
APC (Application Program Command) sequences are used by the Kitty graphics protocol for transmitting images. The format is:
ESC _ G <control-data> ; <payload> ESC \Where G indicates Kitty graphics and control-data contains key=value pairs.
Summary
Functions
Handles an APC (Application Program Command) sequence.
Handles a CSI (Control Sequence Introducer) sequence.
Handles a DCS (Device Control String) sequence.
Handles an OSC (Operating System Command) sequence.
Handles a PM (Privacy Message) sequence.
Functions
Handles an APC (Application Program Command) sequence.
APC sequences are used by the Kitty graphics protocol. The command indicates the type of APC sequence:
G- Kitty graphics protocol- Other commands are logged and ignored
Handles a CSI (Control Sequence Introducer) sequence.
Handles a DCS (Device Control String) sequence.
Handles an OSC (Operating System Command) sequence.
Handles a PM (Privacy Message) sequence.