pub type TerminalCallback = extern "C" fn(*mut Terminal, u64, u64, u64, u64);Expand description
Type for terminal callback
The first argument is Type, which corresponds to CallbackTypeCallbackType
DecSequenceValueCount- Number of values in the arrayValuesValues- Array of values in the DEC SequenceFinal- The final character in the DEC Sequence
Bellunused1unused2unused3
DECPrivateIDunused1unused2unused3
StatusReportunused1unused2unused3
CursorPositionReportX- The X position at the time the report was requestedY- The Y position at the time the report was requestedunused3
KeyboardLEDUpdateLedState- What to set (possible values below)0- Clear all LEDs1- Set Scroll Lock2- Set Num Lock3- Set Caps Lock LED
unused2unused3
SwitchSequenceValueCount- Number of values in the arrayValuesValues- Array of values in the Switch SequenceFinal- The final character in the Switch Sequence
LinuxEscapeSequenceValueCount- Number of values in the arrayValuesValues- Array of values in the Sequence