summaryrefslogtreecommitdiffstats
path: root/src/output.rs
AgeCommit message (Expand)Author
2021-02-16Make less version check accept a path to the less binaryEthan P
2021-01-10PagerSource: [Bat]PagerEnvVar -> EnvVar[Bat]PagerMartin Nordholts
2021-01-10Merge remote-tracking branch 'origin/master' into fix-1063Martin Nordholts
2021-01-09Use new matches!(…) macro to simplify codesharkdp
2021-01-09fix bug where long lines were truncated in plain mode without wrap=never not ...mark chaitin
2020-12-30Also replace 'more' from PAGER with 'less'Martin Nordholts
2020-12-30When PAGER=most, don't print a warning to stderr, silently use less insteadMartin Nordholts
2020-12-28Simplify and polish pager.rs and related codeMartin Nordholts
2020-11-27Ignore PAGER=most by default with a warning to stderrMartin Nordholts
2020-11-27Add Pager helper with info about where the value comes fromMartin Nordholts
2020-11-23remove all matchesMarcoIeni
2020-11-23fix some clippy warningsMarcoIeni
2020-10-29Throws an error when `bat` is being user as pager.Adrian Rivera
2020-10-11Auto-format Rust codesharkdp
2020-10-08Code review: replace `if let` with equals operatorgahag
2020-10-08Code reviewgahag
2020-10-08Add `-S` flag to less when `--wrap=never` (closes #1255)gahag
2020-06-03Revert 9ed8db22c ('windows' pager process execution fix) based on PR feedback...Roy Ivy III
2020-06-03Fix pager process execution under 'windows'Roy Ivy III
2020-04-25Write error messages to pager, if attachedsharkdp
2020-04-22Move PagingMode to separate modulesharkdp
2020-04-22Rename error modulesharkdp
2020-04-21Pass --no-init on Windows if less version < 559sharkdp
2020-04-21Revert "Pass '--mouse' to less versions >= 551"sharkdp
2020-04-21Revert "Only enable --mouse when running from tmux, see #904"sharkdp
2020-04-21Only enable --mouse when running from tmux, see #904sharkdp
2020-04-21Pass '--mouse' to less versions >= 551sharkdp
2020-03-31Updates for review of PR 899David Tolnay
2020-03-31Move paging support behind a featureDavid Tolnay
2020-03-31Strip dependencies of bat-as-a-libraryDavid Tolnay
2020-03-21Run cargo fmtsharkdp
2020-03-21move Config struct to separate filesharkdp
2019-12-23Also pass '--no-init' if version could not be retrievedsharkdp
2019-12-23Do not pass '--no-init' on newer less versionssharkdp
2019-10-20Derive fmt::Debug whenever possibleFahmi Akbar Wildana
2019-10-20Run `cargo fmt`Fahmi Akbar Wildana
2019-10-20Move back printer.rs and others into libFahmi Akbar Wildana
2019-10-20Fix all compile errors in lib.rs 🚚Fahmi Akbar Wildana
2019-08-02use explicit dyn with Write to appease compilerWild Kat
2019-03-09Applied linter fixesDaniele Esposti
2019-03-09Migrated to Rust 2018Daniele Esposti
2019-02-18Do not replace arguments to pager when --pager is used, closes #509sharkdp
2019-02-07Replace less command line arguments only for PAGERsharkdp
2019-02-07Ignore flags from PAGER env var if the program is 'less'Park Juhyung
2018-11-06issue #383: Handle cases like `PAGER=/usr/bin/bat`sharkdp
2018-11-06Fix code styleRodrigo Orem
2018-11-06Remove args when change from bat to lessRodrigo Orem
2018-11-06Better placement of bat detectionRodrigo Orem
2018-11-06Avoid endless bat executions with PAGER="bat"Rodrigo Orem
2018-10-21Fix format errorPark Juhyung