Keypass class final

Key binding dispatcher for terminal flows.

Keypass operates on complete terminal key sequences. It does not read from stdin or buffer byte chunks; higher-level input modules can own that state.

Constructors

Keypass()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

bind(String binding, KeyHandler handler) → void
Registers handler for binding.
clear() → void
Removes all bindings.
dispatch(KeyEvent event) bool
Dispatches event to matching handlers.
handleSequence(String sequence) bool
Decodes and dispatches a complete terminal key sequence.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
unbind(String binding) bool
Removes all handlers for binding.

Operators

operator ==(Object other) bool
The equality operator.
inherited