render method
void
render()
Renders the buffer to the terminal and moves/shows the cursor if requested.
If no cursor position was requested, hides the cursor.
Implementation
void render() {
Logger.trace(_tag, 'Redraw requested to canvas buffer');
buffer.render();
if (_cursorX != null && _cursorY != null) {
buffer.moveCursorTo(_cursorX!, _cursorY!);
buffer.showCursor();
_cursorX = null;
_cursorY = null;
} else {
buffer.hideCursor();
}
}