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

Support bat paging #104

Merged
merged 1 commit into from
Mar 16, 2021
Merged

Support bat paging #104

merged 1 commit into from
Mar 16, 2021

Conversation

alarsyo
Copy link
Contributor

@alarsyo alarsyo commented Mar 16, 2021

I often find myself using cargo-expand with something like cargo expand [...] | less or cargo expand [...] | bat, so I figured adding support for this could be a good idea!

This just reuses bat's default paging behavior, if enabled. The setting is disabled by default for users who wouldn't want this, for some reason!

Let me know if you think this isn't something that should be merged as is

Copy link
Owner

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dtolnay dtolnay merged commit e5b98b1 into dtolnay:master Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants