enum
Tput::KittyKeyboard
Overview
Kitty keyboard protocol progressive-enhancement flags — a bitmask pushed
onto the terminal's keyboard stack with CSI > flags u. They are additive:
DisambiguateEscapeCodes— safe to always enable; only removes ambiguity (Esc vs Alt, Tab vs Ctrl+I, …), never relocates ordinary text.ReportEventTypes— adds press / repeat / release to each event.ReportAlternateKeys— adds the shifted and base-layout codepoints.ReportAllKeys— reports every key as an escape code, including lone modifiers and plain text (needed to observe a bare Alt tap).ReportAssociatedText— attaches the text a key would produce.
Defined in:
tput/keyboard.crEnum Members
-
DisambiguateEscapeCodes =
1 -
ReportEventTypes =
2 -
ReportAlternateKeys =
4 -
ReportAllKeys =
8 -
ReportAssociatedText =
16 -
None =
0 -
All =
31
Instance Method Summary
-
#disambiguate_escape_codes?
Returns
trueif this enum value containsDisambiguateEscapeCodes - #none?
-
#report_all_keys?
Returns
trueif this enum value containsReportAllKeys -
#report_alternate_keys?
Returns
trueif this enum value containsReportAlternateKeys -
#report_associated_text?
Returns
trueif this enum value containsReportAssociatedText -
#report_event_types?
Returns
trueif this enum value containsReportEventTypes