What the frame loop (TwkApp) needs from a terminal: Terminal is the
real one; a test can stand in with a fake.
Properties
-
events
→ Stream<
InputEvent> -
Decoded input, plus a ResizeEvent each time the size changes.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
The number of rows, kept up to date from resize events.
no setter
- info → TerminalInfo
-
What the terminal was found to be as it opened.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → int
-
The number of columns, kept up to date from resize events.
no setter
Methods
-
close(
) → Future< void> - Restores the terminal. Safe to call more than once.
-
flush(
) → Future< void> - Completes when everything written so far reached the OS.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
Uint8List bytes) → void - Writes one frame. The bytes are copied: the caller may reuse its buffer as soon as this returns.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited