TerminalAdapter class abstract

Terminal interface.

Properties

hashCode int
The hash code for this object.
no setterinherited
height int
Height of the terminal in cells.
no setter
inputStream Stream<void Function(bool (KeyInput))>
Stream of key events. Return true if the event was handled.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
Width of the terminal in cells.
no setter

Methods

init({required bool throwOnUnknownKey}) → void
Initialise this adapter.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onExit([Object? error]) → void
Cleanup function called when this should be disposed.
toString() String
A string representation of this object.
inherited
updateSize([bool forceUpdate = false]) bool
Recalculates size and margins. Returns true if the size changed.
writeScreen(AxelMap axelMap, ColorScheme colorScheme) → void
Render a screen of axels.

Operators

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