Module terminal_text
Expand description
What a program printed to a terminal, as plain text: the run output a person or an agent reads outside the terminal (History’s command views, the parsers that find errors and links in a run) without the escape sequences that drew it.
Functions§
- plain
textwithout its escape sequences (CSI, OSC and the other strings, charset designations, otherESC x), carriage returns resolved to the last overwrite of each line.- tail
- The last lines of
output, a run’s raw output, as plain text: at mostlineslines andbytesbytes of them, and whether any were left out.