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.】