{ } qjs-modules

tty

Source: lib/tty.js (pure JS)

Node-style TTY stream wrappers.

Exports

ExportArgsKindDescription
ReadStream(fd)1functionWraps a TTY input descriptor (raw mode, etc.).
WriteStream(fd)1functionWraps a TTY output descriptor (columns/rows, color support).
isatty—re-exportRe-exported from os; tests whether a descriptor is a TTY.