Skip to content

TtyConfig

Defined in: packages/core/src/kernel/types.ts:2169

TTY backing streams — the external I/O channel for a booted system.

Construct one to wire a booted system’s console I/O into external streams (e.g. a browser WebSocket, a Node.js pty, a test harness).

input is consumed byte-for-byte as the TTY’s input side; output receives every byte the TTY writes. The system does NOT own these streams — shutdown does not close them; the caller is responsible for their lifecycle.

input: ReadableStream<Uint8Array<ArrayBufferLike>>

Defined in: packages/core/src/kernel/types.ts:2170


output: WritableStream<Uint8Array<ArrayBufferLike>>

Defined in: packages/core/src/kernel/types.ts:2171