TtyMode
TtyMode =
"raw"|"raw-optional"|"line"
Defined in: packages/core/src/kernel/types.ts:2130
Terminal requirement policy for WASM/WASI process spawn.
Remarks
Section titled “Remarks”Controls what the WASM/WASI exec layer does when a program expects raw-mode TTY access:
'raw': require a terminal; reject withENOTTYwhen absent (e.g. when stdin is a pipe)'raw-optional': prefer a terminal but degrade to line mode when absent'line'(default): never engage raw mode, even when a terminal is attached