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.