@override void setCursorPosition(int x, int y) { _cursorX = x.clamp(0, _width - 1); _cursorY = y.clamp(0, _height - 1); }