println static method

Cmd println(
  1. String text
)

A command that prints a line above the program output.

This output persists across renders and is useful for logging. Only works when not in alt screen mode.

Implementation

static Cmd println(String text) {
  return Cmd(() async => PrintLineMsg(text));
}