类:tty.WriteStream


【Class: tty.WriteStream

表示 TTY 的可写端。在正常情况下,process.stdoutprocess.stderr 将是为 Node.js 进程创建的唯一 tty.WriteStream 实例,通常没有理由创建其他实例。

【Represents the writable side of a TTY. In normal circumstances, process.stdout and process.stderr will be the only tty.WriteStream instances created for a Node.js process and there should be no reason to create additional instances.】