writeStream.rows


一个 number,指定 TTY 当前的行数。每当 'resize' 事件被触发时,该属性会更新。

【A number specifying the number of rows the TTY currently has. This property is updated whenever the 'resize' event is emitted.】