Companion

Functions

Link copied to clipboard

The RGB value of 256-color index 16–255 (xterm's 6×6×6 cube and gray ramp); 0–15 are themed.

Link copied to clipboard
fun parse(output: String, maxLines: Int): TerminalText

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

Link copied to clipboard
fun plain(output: String): String

output as the terminal would show it, as plain text (see plain).