write method
Writes data to the terminal. Terminal sequences and special characters are interpreted.
See also: Buffer.write
Implementation
@override
void write(String text) {
_queue.addAll(text.runes);
_processInput();
backend?.ackProcessed();
refresh();
}