Gets the cursor position.
int get cursor => _cursor;
Sets the cursor position.
set cursor(int value) { _cursor = value.clamp(0, _rows.length - 1); updateViewport(); }