Terminal class abstract interface

Implementers

Constructors

Terminal()
factory

Properties

events Stream<Event>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size
no setter

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 runTerminal invocations 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