write method

void write(
  1. String text
)

Writes data to the _terminal. Terminal sequences or special characters are not interpreted and directly added to the buffer.

See also: Terminal.write

Implementation

void write(String text) {
  for (var char in text.runes) {
    writeChar(char);
  }
}