enum
Tput::KeyboardProtocol
Overview
Enhanced keyboard protocols, ordered least → most capable (mirroring
GraphicsProtocol). Legacy is the always-available baseline — the
xterm-style encodings Tput::Key parses unconditionally — and the others
re-encode keyboard input more richly, but only when the terminal supports
them (discovered by Tput#probe!, see Tput::Features).
Defined in:
tput/keyboard.crEnum Members
-
Legacy =
0 -
ModifyOtherKeys =
1 -
Kitty =
2
Instance Method Summary
-
#kitty?
Returns
trueif this enum value equalsKitty -
#legacy?
Returns
trueif this enum value equalsLegacy -
#modify_other_keys?
Returns
trueif this enum value equalsModifyOtherKeys