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

Do not account for Row size when noheader is set to true #10

Closed
ronisbr opened this issue Feb 26, 2019 · 0 comments
Closed

Do not account for Row size when noheader is set to true #10

ronisbr opened this issue Feb 26, 2019 · 0 comments

Comments

@ronisbr
Copy link
Owner

ronisbr commented Feb 26, 2019

When printing a table with the row column and without the header, we should not take into account the size of Row to align the row column:

julia> v = 0:1:6
0:1:6

julia> pretty_table(v;noheader = true, show_row_number = true)
┌─────┬───┐
│   10 │
│   21 │
│   32 │
│   43 │
│   54 │
│   65 │
│   76 │
└─────┴───┘
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