TerminalReportProbe class final

Best-effort direct /dev/tty report probe.

This is useful when the main runtime input path is not receiving terminal replies reliably but the controlling TTY can still be queried directly.

Constructors

TerminalReportProbe()

Properties

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
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

decodeBytes(List<int> bytes) → TerminalReportSnapshot
Decodes a raw terminal report payload into a structured snapshot.
probe({Duration idleTimeout = const Duration(milliseconds: 120), Duration totalTimeout = const Duration(milliseconds: 600), String ttyPath = '/dev/tty'}) → Future<TerminalReportSnapshot?>
Queries /dev/tty directly and parses a small set of terminal reports.