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

Show that more elements are available on scroll #196

Closed
simjnd opened this issue Oct 12, 2022 · 1 comment · Fixed by #839
Closed

Show that more elements are available on scroll #196

simjnd opened this issue Oct 12, 2022 · 1 comment · Fixed by #839
Assignees
Labels
cmd/table enhancement New feature or request

Comments

@simjnd
Copy link

simjnd commented Oct 12, 2022

Is your feature request related to a problem? Please describe.
Use gum table < test.csv --height 3 when test.csv has 10 rows. It will display a table that has 3 rows and no way of knowing if you've reached the bottom of the table or if there is more available by "scrolling".

Describe the solution you'd like
When there are more elements available, show an indication (e.g. add a row with dark gray ... showing content has been clipped from the viewport)

Describe alternatives you've considered
N/A

Additional context
image

How many items are there?

image

Turns out there are a lot!

@muesli muesli added the enhancement New feature or request label Oct 23, 2022
@olivertzeng
Copy link

I like the idea!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmd/table enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants