GhosttyTerminalPtySession class final

Owns a single PTY process and streams raw output chunks.

Constructors

GhosttyTerminalPtySession({GhosttyTerminalPtySessionConfig config = const GhosttyTerminalPtySessionConfig()})

Properties

events Stream<GhosttyTerminalPtySessionEvent>
no setter
exitCode int?
no setter
hashCode int
The hash code for this object.
no setterinherited
pty → PortablePty?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size → ({int cols, int rows})
no setter
state GhosttyTerminalPtySessionState
no setter

Methods

close() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resize({required int rows, required int cols}) → void
spawn(String command, {List<String>? args, Map<String, String>? environment}) → void
toString() String
A string representation of this object.
inherited
write(String text) int
writeBytes(Uint8List data) int

Operators

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