KeyboardEnhancementFlagsEvent class final
Returns information terminal keyboard support
See sw.kovidgoyal.net/kitty/keyboard-protocol/#progressive-enhancement for more information.
- Inheritance
-
- Object
- Event
- ResponseEvent
- KeyboardEnhancementFlagsEvent
- Annotations
-
- @immutable
Constructors
- KeyboardEnhancementFlagsEvent(int flags, [int mode = 1])
-
const
- KeyboardEnhancementFlagsEvent.empty()
-
Returns an empty KeyboardEnhancementFlagsEvent.
factory
Properties
Methods
-
add(
int flag) → KeyboardEnhancementFlagsEvent - Add a flag to the current KeyboardEnhancementFlagsEvent and returns a new object.
-
has(
int flag) → bool - Check if a flag is present in the current KeyboardEnhancementFlagsEvent.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- disambiguateEscapeCodes → const int
- Represent Escape and modified keys using CSI-u sequences, so they can be unambiguously read.
- reportAllKeysAsEscapeCodes → const int
- Represent all keyboard events as CSI-u sequences. This is required to get repeat/release events for plain-text keys.
- reportAlternateKeys → const int
-
Send alternate keycodes
in addition to the base keycode. The alternate keycode overrides the base keycode in
resulting
KeyEvents. - reportAssociatedText → const int
- Send the Unicode codepoint as well as the keycode.
- reportEventTypes → const int
- Add extra events with KeyEventType set to keyRepeat or keyRelease when keys are auto repeated or released.