NodeTtyHandle
Defined in: packages/runtime/src/adapters/node.ts:20
Handle returned by nodeTty — carries the TtyConfig stream pair, a terminal-size probe, and a teardown callback.
Properties
Section titled “Properties”
readonlytty:TtyConfig
Defined in: packages/runtime/src/adapters/node.ts:22
TtyConfig wrapping raw-mode process.stdin (input) and process.stdout (output).
Methods
Section titled “Methods”dispose()
Section titled “dispose()”dispose():
void
Defined in: packages/runtime/src/adapters/node.ts:26
Restore cooked mode on stdin and pause the stream. Idempotent; also auto-registered on process.exit.
Returns
Section titled “Returns”void
getTermSize()
Section titled “getTermSize()”getTermSize():
TerminalSize
Defined in: packages/runtime/src/adapters/node.ts:24
Probe the current terminal dimensions, falling back to 80x24 when unavailable.