Skip to main content

Module terminal

Module terminal 

Source
Available on crate feature terminal only.
Expand description

Terminal pretty-printer. Available with the terminal feature.

Pure function over a Report. No I/O, no global state, no extra dependencies. ANSI color is opt-in so the caller decides based on their own TTY detection.

Functionsยง

to_terminal
Render a report to a TTY-friendly string. Monochrome.
to_terminal_color
Render a report with ANSI color codes for TTY output.