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

Avoid endless bat executions with PAGER="bat" #393

Merged
merged 4 commits into from
Nov 6, 2018

Conversation

rodorgas
Copy link
Contributor

This PR fix issue #383.

I had to make pager a mutable variable, please let me know if there's a better way.

Copy link
Owner

@sharkdp sharkdp left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution. I have added an inline comment.

@rodorgas
Copy link
Contributor Author

rodorgas commented Nov 5, 2018

Thanks for the feedback, I've made the changes.

@rodorgas
Copy link
Contributor Author

rodorgas commented Nov 6, 2018

Additionally, I removed the arguments when the pager is bat, since those arguments won't make sense when we change the pager to less.

@sharkdp
Copy link
Owner

sharkdp commented Nov 6, 2018

Thank you very much!

@sharkdp sharkdp merged commit 148caa1 into sharkdp:master Nov 6, 2018
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