RealTerminalBackend class

A TerminalBackend that writes directly to the real terminal via FFI.

Implemented types

Constructors

RealTerminalBackend()
Creates a RealTerminalBackend and opens the TTY for direct output.

Properties

hashCode int
The hash code for this object.
no setterinherited
height int
The number of rows in the terminal.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
The number of columns in the terminal.
no setteroverride

Methods

clear() → void
Clears the terminal screen.
override
dispose() → void
Closes the underlying TTY file descriptor.
flush() → void
Flushes any buffered output to the terminal.
override
hideCursor() → void
Hides the terminal cursor.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setCursorPosition(int x, int y) → void
Moves the cursor to the given x (column) and y (row) position.
override
showCursor() → void
Shows the terminal cursor.
override
toString() String
A string representation of this object.
inherited
write(String data) → void
Writes data to the terminal output.
override

Operators

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