ScreenReplay class cli

Replays terminal output onto a grid of plain text rows.

Understands the cursor moves and clears that prompts and widgets use: up, down, left, right, to column, carriage return, line feed, clear line and clear to end of screen. Other codes are skipped.

Constructors

ScreenReplay(int columns)
Creates a replay columns wide.

Properties

columns → int
How many columns wide the screen is.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
play(String output) → List<String>
Replays output and gives back the rows, without trailing spaces.
toString() → String
A string representation of this object.
inherited

Operators

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