viewWidth property

int get viewWidth

Width of the viewport in columns. Also the index of the last column.

Implementation

int get viewWidth => terminal.viewWidth;