Skip to content

attach_stdio

attach_stdio(host?): TTY | null

Defined in: src/drivers/tty/node.ts:67

Attach the host’s streams, giving them a /dev/console0 node.

unknown = globalThis

TTY | null

the tty, or nothing when there is no terminal to attach to