Class AnsiKeyboardEncoder
Encodes Key objects into ANSI escape sequences.
public static class AnsiKeyboardEncoder
- Inheritance
-
AnsiKeyboardEncoder
- Inherited Members
Remarks
This is the inverse operation of AnsiKeyboardParser. It converts Terminal.Gui Key objects back into the ANSI escape sequences that would produce them. Used primarily for test input injection in drivers that consume character streams (e.g., UnixDriver).
Methods
- Encode(Key)
Converts a Key to its ANSI escape sequence representation or character.