You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Either table is shrinked into given width or is rendered despite not fitting into the screen. Both options look ugly as hell though. More options are below
Fix suggestions
A. Fit table into terminal despite ugly outcome
B. Draw table wider than terminal despite ugly outcome
C. Somehow smartly draw the table in such a way that too long content becomes multi-line (already implemented somewhat). Also issue #47 talks about that option.
D. Add option to transpose table when redered (like \x flag does in PostgreSQL's psql command line tool)
E. Add option to break table into multiple pages where each page fits into screen
The text was updated successfully, but these errors were encountered:
Summary
When we try to render a table that does not fit into a screen width (terminal width) a
ValueError
is thrown.What happens
In the example below I have a table with 42 columns which is approximately 4x times wider than terminal's screen allows.
What's expected
Either table is shrinked into given width or is rendered despite not fitting into the screen. Both options look ugly as hell though. More options are below
Fix suggestions
A. Fit table into terminal despite ugly outcome
B. Draw table wider than terminal despite ugly outcome
C. Somehow smartly draw the table in such a way that too long content becomes multi-line (already implemented somewhat). Also issue #47 talks about that option.
D. Add option to transpose table when redered (like
\x
flag does in PostgreSQL'spsql
command line tool)E. Add option to break table into multiple pages where each page fits into screen
The text was updated successfully, but these errors were encountered: