writeStream.rows


number 指定终端当前具有的行数。 每当触发 'resize' 事件时,则会更新此属性。

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