writeStyled method
Implementation
void writeStyled(int x, int y, String char, TextStyle? style) {
if (y >= terminal.height || x >= terminal.width || x < 0 || y < 0) {
AppLogger.log(
'OutputBuffer: Write out of bounds - x:$x, y:$y, '
'terminal size: ${terminal.width}x${terminal.height}',
);
return;
}
_grid[y][x] = Cell(char, style);
}