ScrollbackBuffer.addLine - multiple declarations

Function ScrollbackBuffer.addLine

Adds an empty line.

void addLine();

Function ScrollbackBuffer.addLine

This is what [writeln] actually calls.

void addLine(
  string line
);

Using this exclusively though can give you more control, especially over the trailing \n.

Function ScrollbackBuffer.addLine

Adds a line by components without affecting scrollback.

void addLine(
  scope ScrollbackBuffer.LineComponent[] components...
);

History

Added May 17, 2022