width method

int width()

Returns the current terminal width in columns.

Implementation

int width() => _curbuf?.width() ?? 0;