columns property

int get columns

A number specifying the number of columns the TTY currently has.

This property is updated whenever the 'resize' event is emitted.

Implementation

external int get columns;