jedib0t / go-pretty

Table-writer and more in golang!
MIT License
2.82k stars 113 forks source link

Display in incrementation #324

Closed jeff06 closed 2 weeks ago

jeff06 commented 1 month ago

Describe the solution you'd like Display x number of lines at a time after pressing enter.

Additional context Lets say i have 100 elements to show in a table. Currently with the .Render(), it display everything at once. I would like to display the header and the first 20 lines. When i press enter, it display the next 20 lines and so on. That way it doesnt just show everything at once.

Thanks,

jeff06 commented 1 month ago

Ive decide that i could make this change. It sems that i cannot commit to a feature branch. Do you accepte pull request?

jedib0t commented 1 month ago

Ive decide that i could make this change. It sems that i cannot commit to a feature branch. Do you accepte pull request?

Yes PR is the way to go for this repo.

jeff06 commented 1 month ago

It doesn't seems like i can push. Can you add me as a contributer please?

jedib0t commented 1 month ago

The way you contribute is to fork the repo, push the commit to your fork and then open a PR from that fork.

jeff06 commented 1 month ago

Thank you : https://github.com/jedib0t/go-pretty/pull/325