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

bat pager interferes with output #30

Closed
baodrate opened this issue Sep 9, 2022 · 1 comment
Closed

bat pager interferes with output #30

baodrate opened this issue Sep 9, 2022 · 1 comment

Comments

@baodrate
Copy link

baodrate commented Sep 9, 2022

When the contents of .in or .out are longer than the current terminal window, bat's pager activates, preventing the user from seeing the prompt. And when the user leaves the pager the code excerpt shown is empty, e.g.:

> WARNING
> This is the first time you are about to source "/tmp/autoenv/.in"

----------------

----------------

Are you sure you want to allow this? (y/N)

Consider adding -P (i.e. --paging=never) to the bat options:

bat --style="plain" -l bash "$1"

@grigorii-horos
Copy link
Member

@qubidt Hey! Thanks for the issue. Fixed in the new commit, please update plugin

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

No branches or pull requests

2 participants