polycube
polycube copied to clipboard
CLI: how to print wide tables
In some cases, the output contains so many columns and the terminal is not wide enough to fit it.
There is some logic to break the last column into multiple lines, however, it doesn't work in all the cases (when there are not white spaces #193), also if the last column is a small one it doesn't make sense to break it.
There are many ways to handle this problem
Create an improved breaking logic that is capable of breaking the best / better column(s) Print an error Print only the columns that fit and tell in some way to the user that there are some hidden columns Completely ignore the problem printing a misaligned table (current behavior) -Mauricio