SneathTerminal class abstract
Platform-independent library for interrogating and manipulating the console.
This class provides raw wrappers for the underlying terminal system calls that are not available through ANSI mode control sequences, and is not designed to be called directly.
Constructors
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
-
clear_screen(
) → void - Clears the terminal screen.
-
disable_raw_mode(
) → void - See console 'set rawmode' for an explanation of raw mode.
-
enable_raw_mode(
) → void - See console 'set rawmode' for an explanation of raw mode.
-
get_window_height(
) → int - Returns the height of the terminal window.
-
get_window_width(
) → int - Returns the width of the terminal window.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
set_cursor_position(
int column, int row) → void -
Positions the cursor at the given
column
androw
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited