Skip to content

Function: nodeTerminal()

Documentation / @wtf/platform-node / terminal / nodeTerminal

function nodeTerminal(__namedParameters?): Terminal;

Defined in: packages/platform-node/src/terminal.ts:20

The terminal of the process: what it reads lines of, its stdin, and what it writes to, its stdout, or those given, each read when it is asked for, so its size is the size after a resize. A line is read of one reader of the input, kept between reads and paused between them, so no line of a pipe is lost, and a process that reads no more may exit.

Parameters

ParameterType
__namedParametersNodeTerminalOptions

Returns

Terminal