Skip to content

EmscriptenTermios

Defined in: packages/runtime/src/wasm/types.ts:113

Termios state, mirroring the POSIX C struct.

The fields are opaque bitmasks — consumers of this shape only need to round-trip the state between ioctl_tcgets and ioctl_tcsets.

c_cc: number[]

Defined in: packages/runtime/src/wasm/types.ts:123

Control characters array (VINTR, VEOF, VMIN, VTIME, …).


c_cflag: number

Defined in: packages/runtime/src/wasm/types.ts:119

Control flags bitmask (CS8, CREAD, etc.).


c_iflag: number

Defined in: packages/runtime/src/wasm/types.ts:115

Input flags bitmask (ICRNL, IXON, etc.).


c_lflag: number

Defined in: packages/runtime/src/wasm/types.ts:121

Local flags bitmask (ICANON, ECHO, ISIG, etc.).


c_oflag: number

Defined in: packages/runtime/src/wasm/types.ts:117

Output flags bitmask (OPOST, ONLCR, etc.).