类:tty.ReadStream
\Class: tty.ReadStream
新增于: v0.5.8
-
继承:<net.Socket>
\Extends: <net.Socket>
代表终端的可读端。在正常情况下,process.stdin 将是 Node.js 进程中唯一的 tty.ReadStream 实例,应该没有理由创建额外的实例。
\Represents the readable side of a TTY. In normal circumstances
process.stdin will be the only tty.ReadStream instance in a Node.js
process and there should be no reason to create additional instances.