KeytabInputHandler class
A TerminalInputHandler that translates key events according to a keytab
file. If no keytab is provided, Keytab.defaultKeytab is used.
Unlike xterm 4.0.0, the keytab's AppCuKeys mode follows the terminal's
application cursor keys mode (DECCKM), so the arrow keys send ESC O A
after CSI ? 1 h; xterm tied it to the application keypad mode.
- Implemented types
Constructors
- KeytabInputHandler([Keytab? keytab])
-
Creates a handler that looks keys up in
keytab, or inKeytab.defaultKeytabwhen it isnull.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- keytab → Keytab?
-
The keytab keys are looked up in;
nullmeansKeytab.defaultKeytab.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
TerminalKeyboardEvent event) → String? -
Translates a TerminalKeyboardEvent into an escape sequence. If the event
cannot be translated, null is returned.
override
-
insertModifiers(
TerminalKeyboardEvent event, String action) → String -
Replaces each
*inactionwith the xterm modifier parameter for the event's modifiers (2Shift,3Alt,4Shift+Alt,5Control,6Shift+Control,7Control+Alt,8all three). Without modifiersactionis returned unchanged. -
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.
inherited