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

Forced vertical tables to not respect terminal width or multiline render option #5

Open
wwboynton opened this issue Feb 28, 2015 · 0 comments
Labels

Comments

@wwboynton
Copy link

When rendering a table whose width forces a vertical rotation, tables will always render to their non-multiline-wrapping widths, regardless of whether the terminal can accommodate this.

puts TTY::Table.new(rows: [['Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam volu',12930,'blah',4325678,23456789]],header:['header number one','header number two','header number three','header number four','header number five']).render(:unicode,multiline:true)

Example:

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

No branches or pull requests

2 participants