writeStream.columns


一个 number,表明 TTY 当前具有的列数。 每当 'resize' 事件被触发时,此属性会被更新。

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