Table of Contents

Enum KittyKeyboardFlags

Namespace
Terminal.Gui.Drivers
Assembly
Terminal.Gui.dll

Kitty keyboard progressive enhancement flags. These correspond to the bit flags defined in the kitty keyboard protocol specification.

[Flags]
public enum KittyKeyboardFlags

Fields

DisambiguateEscapeCodes = 1

Disambiguate escape codes (flag 0b1). Encodes keys unambiguously as CSI u sequences instead of legacy escape sequences.

None = 0

No flags set.

ReportAllKeysAsEscapeCodes = 8

Report all keys as escape codes (flag 0b1000). Enables the terminal to report standalone modifier key events (e.g., pressing Shift alone).

ReportAlternateKeys = 4

Report alternate keys (flag 0b100). Enables the terminal to report alternate key values (e.g., shifted key, base layout key).

ReportAssociatedText = 16

Report associated text (flag 0b10000). Enables the terminal to report the text generated by a key event.

ReportEventTypes = 2

Report event types — press, repeat, release (flag 0b10). Enables the terminal to report key release and repeat events in addition to key press.

Remarks