writeStream.columns


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

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