println method

void println(
  1. String text
)

Prints a line of text above the TUI output.

This only works in inline mode (non-alt-screen). In fullscreen mode, this method does nothing.

The text is printed immediately and persists across re-renders.

program.println('Loading complete!');

Implementation

void println(String text) {
  if (!_running || _options.altScreen) return;
  send(PrintLineMsg(text));
}