Skip to content

gum table v0.14.4 broke height #660

Closed
@uwe-schwarz

Description

@uwe-schwarz

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:
image

Crash:
image

Desktop (please complete the following information):

  • OS: macOS 14.6.1
  • Terminal: iTerm
  • gum version 0.14.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions