flush method
void
flush()
Implementation
void flush() {
cursor.move(0, 0);
for (var y = 0; y < height; y++) {
for (var x = 0; x < width; x++) {
var pixel = pixels[x][y];
Console.write('\x1b[48;5;${pixel.color}m ');
cursor.move(x, y);
}
}
}