cli-table
cli-table copied to clipboard
Column Wrapping / Truncation
Browsing the docs, it doesn't seem like there is any option for controlling wrapping or truncation.
The ability to customize this per column would be great.
As in: wrap splits the cell into multiple lines, while truncate cuts off the text, and possibly adds an ... ellipsis.
This is a bit tricky to do when the string contains ANSI escape sequences for coloring.