clear method

void clear()

Clears the viewport and scrollback, then moves renderers to the bottom.

Implementation

void clear() {
  if (_isDisposed) return;
  _buffer.clear();
  if (_synchronizedUpdateMode) return;
  notifyListeners();
}