Hacker News new | ask | show | jobs
by busfahrer 64 days ago
I've noticed that subconsciously, I've started to use `bat` for interactive paging, even though that's not its main use case
1 comments

Bat just uses less internally. And it deliberately breaks less’ handling of ^C, annoyingly.
Bat has an option to use a built-in pager, a Rust crate called minus
Didn't know that! I tried it and it doesn't work for me, sadly. Test case: `seq 1 100 | bat --pager=builtin` Result: immediate exit, no output printed at all.

https://github.com/sharkdp/bat/issues/1053