-
Notifications
You must be signed in to change notification settings - Fork 345
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
gum table
v0.14.4 broke height
#660
Comments
Reproduced on the following setup: Desktop (please complete the following information):
|
Oof, thanks for flagging (and for the great report). We'll get this one patched. |
So charmbracelet/bubbles#608 should fix the panic, but it looks like the regression happened in #640 (in response to #554). It appears that the height is essentially defaulting to |
A similar issue is showing up for me on |
@hxlnt Noted, thank you! |
Describe the bug
--height=0 is taken literally and only displays the header row.
Additionally it crashes with pressing two times cursor down.
To Reproduce
Steps to reproduce the behavior:
echo -e "col1,col2,col3\nfoo,bar,baz" | gum table
Expected behavior
Display up to height lines, should default to something like before (10).
Screenshots
If applicable, add screenshots to help explain your problem.
Table:
Crash:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: