Expand description
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
Display and 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§
- Terminal
Table - Capable of streaming, which requires defining the column widths beforehand. If a value is wider than the defined column width for that value, a single space is still printed between the value and the next. The last column does not need a width, and no padding is printed.
- Terminal
Table Opts