Closed benmccann closed 3 months ago
For brevity, I'm going to dismiss this on the grounds that it is outside the scope of cli-table3.
That's not to say there isn't an easy solution for your use case. Decisions like these should bel left to the implementors of cli-table3.
Keyword "tput" may put you in a useful direction: https://stackoverflow.com/a/263900
By all means, anyone should feel free to share their implementation(s) appropriately!
Based on your edit and the screenshot, the width of the table (300) is more than the screen width. You're inducing the terminal's own text-wrapping by exceeding the width of the screen.
The table isn't being fit to my screen even when word wrapping is on
Code to reproduce:
related https://github.com/cli-table/cli-table3/issues/57