Terminal class

Provides access to the Ansi Terminal.

Constructors

Terminal()
Factory ctor to get a Termainl
factory

Properties

column int
moves the cursor to the given column 1 is the first column
no getter
hashCode int
The hash code for this object.
no setterinherited
isAnsi bool
Returns true if ansi escape characters are supported.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearLine({TerminalClearMode mode = TerminalClearMode.all}) → void
clearScreen({TerminalClearMode mode = TerminalClearMode.all}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
showCursor({required bool show}) → void
show/hide the cursor
startOfLine() → void
Moves the cursor to the start of line.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

previousLine() → void
Moves the cursor to the start of previous line.
write(String text) → void
Writes text to stdout.