Skip to content

BufferedTTYOutput

Defined in: packages/runtime/src/wasm/tty-bridge.ts:273

TTY output that batches bytes via queueMicrotask for efficient writes.

flush(): void

Defined in: packages/runtime/src/wasm/tty-bridge.ts:275

Flush the buffer immediately. Called by fsync().

void


putChar(byte): void

Defined in: packages/runtime/src/wasm/tty-bridge.ts:73

Write a single character byte. Called synchronously by Emscripten.

number

void

WasmTTYOutput.putChar