prependString method

void prependString(
  1. String s
)

Adds the given string to the top of the terminal screen.

Upstream: third_party/ultraviolet/terminal.go (Terminal.PrependString).

Implementation

void prependString(String s) {
  _prepend.add(s);
}