addToCommandBar static method

void addToCommandBar(
  1. String text
)

Appends text to the command bar, updating both the display and the buffer.

Implementation

static void addToCommandBar(String text) {
  if (_activeBuffer == null) return;
  _activeBuffer!.write(text);
  stdout.write(text);
}