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

Enable scrolling through paged output #26

Open
mlange-42 opened this issue Dec 29, 2020 · 3 comments
Open

Enable scrolling through paged output #26

mlange-42 opened this issue Dec 29, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@mlange-42
Copy link
Owner

Implemented paged output in #25, but did not manage to implement scrolling upwards due to problems with scroll-back buffer / setting buffer size.

@mlange-42 mlange-42 added the enhancement New feature or request label Dec 29, 2020
@mlange-42 mlange-42 self-assigned this Dec 29, 2020
@juliavdkris
Copy link

Yo this is a super cool project, really useful! But unless you're planning to add other functionality that requires a custom pager, you could just do something like git-graph --color always | sponge | less -R, that's how I currently have this program aliased :)

@mlange-42
Copy link
Owner Author

Thanks, @samvdkris!
As there is now also the git-graph based TUI application git-igitt (you have probably seen the link in the README), this feature is currently not on my top priority list.

Unfortunately your suggested solution does not work on Windows, and the Windows pager more seems not to work with Unicode symbols and ANSI colors. So only git-graph --style ascii | more can be used there.

@juliavdkris
Copy link

Ohhh I actually hadn't seen git-igitt yet, I'll have a look!

@mlange-42 mlange-42 removed their assignment Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants