draw method
void
draw()
Draws the current buffer state to the terminal.
Implementation
void draw() {
_renderer.render(_buf);
if (_prepend.isNotEmpty) {
for (final s in _prepend) {
_prependLine(s);
}
_prepend.clear();
}
_renderer.flush();
}