PtyBackend class abstract
A source/sink of terminal bytes. flutter_pty is the v1 implementation; the interface lets us swap to a forked PTY, a dart:ffi PTY, or a remote (SSH) source later without touching the engine.
- Implementers
Constructors
Properties
-
exitCode
→ Future<
int> -
Completes with the child process's exit code when it terminates.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
output
→ Stream<
Uint8List> -
Bytes produced by the child process (shell stdout/stderr).
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
kill(
) → void - Terminate the child and release resources.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resize(
int rows, int columns) → void - Tell the child the new window size. Order is (rows, columns).
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
Uint8List data) → void - Send bytes to the child process (stdin).
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited