Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support a maximum table width and automatically scale columns within that width (for tty output) #196

Open
vcschapp opened this issue Oct 15, 2021 · 0 comments

Comments

@vcschapp
Copy link

User Story

As a user of command-line interface tools (CLIs) I would like Markdown tables output from my CLI to fill my terminal/tty without overflowing and having weird line wraps.

The idea is that if I set a maximum table width property, the table will elide wide column names and values, if necessary, to fit the table within the max width. Then a CLI tool author can check if the standard output is attached to a terminal; if yes, use the max width, and if no, allow the current behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant