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

work around bat bug when --plain is combined with --pager #47

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

arcnmx
Copy link

@arcnmx arcnmx commented Oct 26, 2023

bat fails to acknowledge --plain when --pager is used after it, as reported in sharkdp/bat#2731

Since --plain is just an alias for --style=plain, it can be used directly to work around the issue.

dcolestock added a commit to dcolestock/nixos-flake that referenced this pull request Nov 21, 2023
Since bat 24 now has the pager overwriting plain styling this work
around was suggested here: I60R/page#47
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.

1 participant