PtyConnector
TerminalConnector backed by a local PTY process.
This connector owns PTY reader and watcher threads. It only moves bytes and lifecycle events between the PTY process and a connector listener; parser, core, cursor, attribute, and input-encoder behavior are owned by terminal-session and lower layers.
Parameters
process
the underlying PTY process.
readBufferSize
size of the read buffer in bytes.
readerThreadName
name for the daemon PTY stdout reader thread.
watcherThreadName
name for the daemon process exit watcher thread.