bat-extras
bat-extras copied to clipboard
`batdiff` and `batgrep` don't page unless `--pager` is explicity set.
If I run batdiff file1 file2, the entire diff is printed to the screen without paging.
If I run batdiff --paging=always file1 file2, the same thing happens.
If I run batdiff --pager='less -R' file1 file2, or batdiff --pager='bat -p' file1 file2, I get paging as I expect it to.
This is also true for any batgrep commands.
I have tried multiple terminal emulators, with the same results. I have also tried in both Fedora and Mint.
Odd, it shouldn't be doing that. What do you have set for your PAGER and BAT_PAGER environment variables?
@eth-p I don't have either set at all.
@eth-p I don't have either set at all.
Thanks! It should now be fixed in 20cdf5a9983da09bdfe640bbd321f606a282e7db.
Looks good to me now.