AltInputHandler class

A TerminalInputHandler that translates alt + key events into escape sequences. For example, alt + a becomes ^[a.

The letter is sent in upper case (Alt+A and Alt+a both give ESC A), as in xterm. On macOS it translates nothing, so Option keeps producing characters.

Implemented types

Constructors

AltInputHandler()
Creates the handler.
const

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

call(TerminalKeyboardEvent event) → String?
Translates a TerminalKeyboardEvent into an escape sequence. If the event cannot be translated, null is returned.
override
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