- Implementers
Constructors
- Terminal()
-
factory
Properties
Methods
-
disableMouse(
) → void -
enableMouse(
) → void -
enterAlternateScreen(
) → void -
enterRawMode(
) → void -
flush(
) → Future< void> -
hideCursor(
) → void -
leaveAlternateScreen(
) → void -
leaveRawMode(
) → void -
moveTo(
int x, int y) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
queryCursorPosition(
{Duration timeout = const Duration(milliseconds: 500)}) → Future< (int, int)> -
restore(
) → Future< void> -
Lightweight cleanup: restore terminal modes (raw off, cursor on,
mouse off, alternate screen off) without tearing down stdin
subscriptions or event streams. Safe to call between successive
runTerminalinvocations that share this terminal. -
setTitle(
String title) → void -
showCursor(
) → void -
shutdown(
) → Future< void> - Full teardown: releases stdin subscriptions, closes event streams, frees native resources. After this, the terminal is unusable — process exit will collect anything left behind.
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
String data) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited