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
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) andy(row) position.override -
showCursor(
) → void -
Shows the terminal cursor.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
String data) → void -
Writes
datato the terminal output.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited