Skip to content

bat refuses to page content #2570

@mataha

Description

@mataha

What steps will reproduce the bug?

bat some-long-test-file.txt --pager more --paging always

What happens?

Contents of the file are dumped to the terminal all at once.

What did you expect to happen instead?

Paging with more.

How did you install bat?

Cargo.


bat version and environment

Software version

bat 0.23.0

Operating system

Windows 6.2.9200

Command-line

bat test.cmd --pager more --paging always --diagnostic

Environment variables

SHELL=<not set>
PAGER=<not set>
LESS=<not set>
LANG=<not set>
LC_ALL=<not set>
BAT_PAGER=more
BAT_CACHE_PATH=<not set>
BAT_CONFIG_PATH=<not set>
BAT_OPTS=<not set>
BAT_STYLE=<not set>
BAT_TABS=<not set>
BAT_THEME=<not set>
XDG_CONFIG_HOME=<not set>
XDG_CACHE_HOME=<not set>
COLORTERM=<not set>
NO_COLOR=<not set>
MANPAGER=<not set>

System Config file

Could not read contents of 'C:\ProgramData\bat\config': System nie może odnaleźć określonej ścieżki. (os error 3).

Config file

Could not read contents of 'C:\Users\Mataha\AppData\Roaming\bat\config': System nie może odnaleźć określonej ścieżki. (os error 3).

Custom assets metadata

Could not read contents of 'C:\Users\Mataha\AppData\Local\bat\metadata.yaml': System nie może odnaleźć określonej ścieżki. (os error 3).

Custom assets

'C:\Users\Mataha\AppData\Local\bat' not found

Compile time information

  • Profile: release
  • Target triple: x86_64-pc-windows-msvc
  • Family: windows
  • OS: windows
  • Architecture: x86_64
  • Pointer width: 64
  • Endian: little
  • CPU features: fxsr,sse,sse2
  • Host: x86_64-pc-windows-msvc

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions