Expand description
Generate tables for human consumption, for the terminal, as HTML or CSV
Modules§
- html
- terminal
- Experimental attempt at a table printing abstraction that can both
print to a terminal in nice human-readable format (with spaces for
padding, and ANSI sequences for formatting), as well as in CSV
(with tabs) format.
Does not currently escape anything in the fields, just uses
Displayand prints that directly. Thus is not safe if the type can print tabs or newlines (or on the terminal even spaces could make it ambiguous).
Structs§
- Output
Style - Abstract styling that works for both terminal and HTML
output.
color, if given, is a ANSI 256-color terminal color. - Output
Table Title - With
UrlOn Demand - A text with optional link which is generated only when needed (i.e. for HTML output)
Enums§
- BarKind
- Font
Size - Row
- Either something that can have spans; or something that can have URLs. Assumes that never want to have both.