draw method
Write cell updates to the terminal display.
Implementation
@override
void draw(Iterable<CellUpdate> updates) {
for (final update in updates) {
if (_buffer.area.contains(Position(update.x, update.y))) {
_buffer.setCell(Position(update.x, update.y), update.cell);
}
}
}