summaryrefslogtreecommitdiffstats
path: root/src/bin
AgeCommit message (Collapse)Author
2024-06-17Add `--strip-ansi=auto` optionEthan P.
When using `auto`, escape sequences will be stripped unless printing plain text.
2024-06-16Add `--strip-ansi` optionEthan P.
2024-04-19refactor: factorize constants by inverting loop and condition orderStéphane Blondon
2024-04-19display which theme is the default one in basic outputStéphane Blondon
2024-04-14display which theme is the default one in colored output (#2838)sblondon
2024-04-07Print $TERM with --diagnosticRivera Calzadillas
2024-04-07Sort env vars printed by --diagnosticRivera Calzadillas
2024-03-10Merge pull request #2868 from cyqsimon/builtin-offload-v2David Peter
Faster startup by offloading glob matcher building to a worker thread
2024-02-25Inline `format!` args wherever possibleLena
2024-02-24Rename `--squeeze` to `--squeeze-blank`einfachIrgendwer0815
2024-02-24Hide `--squeeze-limit` from short helpeinfachIrgendwer0815
2024-02-24Add --squeeze-limit to specify max number of consecutive empty linesEthan P
Co-authored-by: einfachIrgendwer0815 <85333734+einfachIrgendwer0815@users.noreply.github.com>
2024-02-24Add --squeeze/-s optionEthan P
Co-authored-by: einfachIrgendwer0815 <85333734+einfachIrgendwer0815@users.noreply.github.com>
2024-02-23Merge pull request #2853 from ↵David Peter
einfachIrgendwer0815/document_default_style_components Document default style components
2024-02-21Builtin glob matchers build offload, v2cyqsimon
2024-02-11Merge branch 'master' into 2783-setting-terminal-titleOliver Looney
2024-02-11Mention which style components are the defaulteinfachIrgendwer0815
2024-02-08undid unnecessary api visibility changesOliver looney
2024-02-08Using hypens instead of underscores for set-terminal-title commandOliver looney
2024-01-29added set_terminal_title arg to clap_app.rs to fix ci errorsOliver looney
2024-01-27removed set_terminal_title arg from clap_app.rs since other boolean args ↵Oliver looney
aren't in clap_app.rs
2024-01-27terminal title is only set if user opts in with --set_terminal_title flagOliver looney
2024-01-27added a flag to config for setting terminal titleOliver looney
2024-01-18Reverse precedence of syntax mappings specified on CLIcyqsimon
2023-12-31slightly changed set terminal command to match docs & broke print line into ↵Oliver looney
multiple variables
2023-12-31small refactoring of set terminal title functionOliver looney
2023-12-18terminal title is only set when pager is being usedOliver looney
2023-12-11Lazily compile `GlobMatcher`scyqsimon
2023-12-11Migrate `SyntaxMapping` impl to new systemcyqsimon
Most existing builtins are removed but not yet ported, so the test `user_can_override_builtin_mappings` should fail. It should pass once the old rules have been ported.
2023-12-10fixed formatting of terminal titleOliver looney
2023-12-10successfully setting the terminal title to bat's input's namesOliver looney
2023-12-02fix: display color when NO_COLOR is an empty string (#2767)Lena
2023-09-14Make -pp override --paging and vice versa when passed as a later argument. ↵J-Kappes
(#2660)
2023-09-08make LESSOPEN support opt-inAnomalocaridid
2023-09-02Add `$LESSOPEN` and `$LESSCLOSE` support (#2444)Anomalocaridid
2023-09-01Merge pull request #2548 from utkarshgupta137/masterDavid Peter
Replace `dirs` crate with `etcetera` crate
2023-09-01Replace `dirs` crate with `etcetera` crateUtkarsh Gupta
2023-09-01Fix signaturesPeter Hebden
2023-09-01Add environment variable `BAT_PAGING`einfachIrgendwer0815
2023-09-01Bump MSRV to 1.70.0mataha
The intention is to take advantage of `std::io::IsTerminal` that landed in 1.70.0, both in `bat` and its dependencies (`clap`, `grep-cli`). This will fix #2570 as well - `grep-cli` 0.1.9 has a patch for that. Signed-off-by: mataha <mataha@users.noreply.github.com>
2023-05-22Fix paging not happening when stdout is interactive but stdin is notNigecat
2023-04-05Use the `is-terminal` crate instead of `atty`Constantin Nickel
The crate is already used by `clap` and a similar trait is about to be stabilized in `std`.
2023-03-24Merge pull request #2513 from nickelc/deps/dirsDavid Peter
Replace `dirs-next` with the original `dirs` crate
2023-03-24Replace `dirs-next` with the original `dirs` crateConstantin Nickel
The `dirs` crate was forked as `dirs-next` after the original repos were archived. The fork hasn't released a new version since October 2020, while the original has been taken off the shelf and has seen updates since then.
2023-03-24Use `nu-ansi-term` instead of `ansi_term`Constantin Nickel
The `nu-ansi-term` crate is a fork of `ansi_term` which is maintained by the Nushell project.
2023-03-15Merge pull request #2502 from Enselic/clippy-1.68David Peter
Fix clippy warnings with Rust 1.68
2023-03-14Print non-printable characters using caret notation (#2443)einfachIrgendwer0815
When the new flag is set, non-printable characters are printed using caret notation.
2023-03-14Fix clippy warnings with Rust 1.68Martin Nordholts
2022-11-19Fix `bat cache --clear` not clearing the `--target` dir if specifiedMiles Liu
2022-11-02Fix cache subcommand and add testsAaron Kollasch
Treat the cache subcommand differently from --no-config: For --no-config, insert args from selected environment variables For cache, don't insert args