write method

void write(
  1. String data
)

Writes the data from the underlying program to the terminal. Calling this updates the states of the terminal and emits events such as onBell or onTitleChange when the escape sequences in data request it.

Implementation

void write(String data) {
  _parser.write(data);
  notifyListeners();
}