Commit Graph

27 Commits (7208a63a496fce38bbe2eae9f6d13fce5eac562a)

Author SHA1 Message Date
Fahmi Akbar Wildana 0273848f54 Run `cargo fmt` 5 years ago
Fahmi Akbar Wildana e542621125 Move back printer.rs and others into lib
others:
bin/bat/{controller,decorations,output,printer}.rs
5 years ago
Fahmi Akbar Wildana cfd33168af Fix all compile errors in lib.rs 🚚
* Move {controller,output,printer,decorations}.rs into src/bin/

* Add `mod errors` from main.rs
5 years ago
Wild Kat 28266ee441 use explicit dyn with Write to appease compiler 5 years ago
Daniele Esposti 82f14121bd Applied linter fixes 6 years ago
Daniele Esposti a21ae614e6 Migrated to Rust 2018 6 years ago
sharkdp f0771d6532 Do not replace arguments to pager when --pager is used, closes #509 6 years ago
sharkdp 6e8fca5bb2 Replace less command line arguments only for PAGER 6 years ago
Park Juhyung 63c77383ce Ignore flags from PAGER env var if the program is 'less' 6 years ago
sharkdp 7cac07d845 issue #383: Handle cases like `PAGER=/usr/bin/bat` 6 years ago
Rodrigo Orem 148caa1381 Fix code style 6 years ago
Rodrigo Orem ab27cac0cc Remove args when change from bat to less 6 years ago
Rodrigo Orem 01fcbf2183 Better placement of bat detection 6 years ago
Rodrigo Orem 8a0c30b385 Avoid endless bat executions with PAGER="bat"
From issue #383
6 years ago
Park Juhyung 9c782fb692 Fix format error 6 years ago
Park Juhyung 154186a58d Add --pager option 6 years ago
sharkdp e43d97dc15 Small cleanup 6 years ago
sharkdp bb1f5aa841 Add proper handling of empty PAGER variables 6 years ago
sharkdp 2109a7830b Add error handling for parsing errors 6 years ago
sharkdp ec27c78a8a Remove duplicate 'extern crate' 6 years ago
Morten Linderud 67fe833bc8 Add arguments from PAGER/BAT_PAGER
Solves #352

Signed-off-by: Morten Linderud <morten@linderud.pw>
6 years ago
Aankhen 76df41fa97 src/output.rs: Handle `less` in a portable way. 6 years ago
sharkdp 1d9e7ac4c2 Support "(/usr)/bin/less" as PAGER too
closes #271
6 years ago
sharkdp 9316f2a758 Major refactoring and cleanup 6 years ago
sharkdp d179693d1d Use BAT_PAGER and PAGER environment variables, closes #158 6 years ago
Gert Hulselmans 33bbf25468 Fix launching of pager so text is interpreted as UTF-8 by default.
This fixes issue https://github.com/sharkdp/bat/issues/98
6 years ago
Ezinwa Okpoechi 120b33a9db Move output to separate module 6 years ago