Skip to main content

Module terminal_text

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
text without its escape sequences (CSI, OSC and the other strings, charset designations, other ESC 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 most lines lines and bytes bytes of them, and whether any were left out.