4 ms·
I've noticed that subconsciously, I've started to use `bat` for interactive paging, even though that's not its main use case
by busfahrer 6mo ago
I've noticed that subconsciously, I've started to use `bat` for interactive paging, even though that's not its main use case
- CGamesPlay 6mo agoBat just uses less internally. And it deliberately breaks less’ handling of ^C, annoyingly.
- indentit 6mo agoBat has an option to use a built-in pager, a Rust crate called minus
- CGamesPlay 6mo agoDidn'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 https://github.com/sharkdp/bat/issues/1053