sharkdp/bat

[bat --paging=never --plain] still paging, since version 0.24.0

Mark-Joy opened this issue · 1 comments

What steps will reproduce the bug?

I am using MinGW-x64

  1. Install bat 0.23.0-3 and run command bat --paging=never --plain myfile.txt. Not paging as expected.
  2. Install bat 0.24.0-2 and run command bat --paging=never --plain myfile.txt. Still paging.
    This only happens when --paging=never is used together with --plain
    Workaround: Use -pp instead of --paging=never --plain

How did you install bat?

Download packages from msys2-mingw64-repo

pacman -U mingw-w64-x86_64-bat-0.23.0-3-any.pkg.tar.zst
pacman -U mingw-w64-x86_64-bat-0.24.0-2-any.pkg.tar.zst

bat version and environment

diagnostic-1.txt

Duplicate of #2731. This comment explains the problem.