The terminal capabilities the IDE engine depends on, kept dart:io-free so
the engine compiles to JavaScript. The native Terminal (in terminal.dart)
implements it for a real TTY; tests provide a fake; a web app provides its
own driver feeding the rendered frames to a browser terminal widget.
- Implementers
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
input
→ Stream<
List< int> > -
The raw input byte stream.
no setter
-
resizeEvents
→ Stream<
void> -
Terminal resize notifications.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → ({int cols, int rows})
-
The current size in cells.
no setter
Methods
-
enter(
) → void - Enters full-screen mode (alternate screen + raw input).
-
invalidate(
) → void - Forces the next present to repaint in full.
-
leave(
) → void - Leaves full-screen mode, restoring the prior screen and input mode.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
present(
ScreenBuffer frame, {int? cursorX, int? cursorY}) → void -
Renders
frame, diffed against the previous one, optionally placing the hardware cursor. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited