parse

fun parse(output: String, maxLines: Int): TerminalText(source)

Interprets output; maxLines is the scrollback: very long output keeps its last lines.