summaryrefslogtreecommitdiffstats
path: root/src/printer.rs
AgeCommit message (Expand)Author
2023-09-01Merge pull request #2618 from Piturnah/feat/write-to-bufferDavid Peter
2023-09-01Clippy lintsPeter Hebden
2023-09-01Handle todosPeter Hebden
2023-09-01Fix signaturesPeter Hebden
2023-09-01Add `OutputHandle` enum to use instead of `&mut dyn io::Write`Peter Hebden
2023-09-01Replace unmaintained `encoding` with `encoding_rs`rhysd
2023-03-24Use `nu-ansi-term` instead of `ansi_term`Constantin Nickel
2023-03-15Merge pull request #2502 from Enselic/clippy-1.68David Peter
2023-03-14Print non-printable characters using caret notation (#2443)einfachIrgendwer0815
2023-03-14Fix clippy warnings with Rust 1.68Martin Nordholts
2022-09-10Revert "Remove code that tries to handle ANSI escape inputs"Martin Nordholts
2022-09-06Strip BOM from output in interactive mode (#1938)dag-h
2022-08-29Remove code that tries to handle ANSI escape inputs (#2189)Martin Nordholts
2022-05-07Bump to syntect 5.0.0 to e.g. start lazy-loading syntaxes (#2181)Martin Nordholts
2022-05-05printer.rs: De-duplicate code to highlight long linesMartin Nordholts
2022-05-04Skip syntax highlighting for long lines (#2165)Keith Hall
2022-02-14Underline highlighted lines in ANSI theme (#1985)Mahdi Dibaiee
2022-02-07Add new `--style` called `header-filesize` and display it by default (#1988)Mahdi Dibaiee
2021-12-08Improved ANSI passthrough (#1596)Ethan P
2021-09-29src/printer.rs: Simplify Plain Text fallback codeMartin Nordholts
2021-09-22src/printer.rs: Add HighlighterFromSet helperMartin Nordholts
2021-09-12Use deref coercion to simplify some argument passingMarcin Puc
2021-09-12Improve iterator usageMarcin Puc
2021-09-12Reduce nesting in if blocks by short circuitingMarcin Puc
2021-08-26Replace deprecated 'error-chain' with 'thiserror' (#1820)Martin Nordholts
2021-08-19Fix all lints that are new with Rust 1.54Martin Nordholts
2021-08-08When returning a SyntaxReference, also return the SyntaxSet that contains it ...Martin Nordholts
2021-07-29HighlightingAssets: Make .syntaxes() and syntax_for_file_name() failableMartin Nordholts
2021-07-19HighlightingAssets: Encapsulate syntax_set behind a getterMartin Nordholts
2021-05-27Use the functional update syntaxMohamed Abdelnour
2021-01-09Addressed PR feedback. Upped min version and used matches! macromark chaitin
2021-01-09fix bug where long lines were truncated in plain mode without wrap=never not ...mark chaitin
2020-12-21Add ansi theme to replace ansi-light and ansi-darkMitchell Kember
2020-12-19Don't add artificial newline to last line if --style=plainMartin Nordholts
2020-12-19replace_nonprintable: Keep \n aroundMartin Nordholts
2020-11-23fix some clippy warningsMarcoIeni
2020-10-12style: add component 'rule' for horizontal file delimiterTom Milligan
2020-09-20Code formattingsharkdp
2020-07-02Enable non-printable chars for redirected output (#1061)Evgeniy Andreev (gsomix)
2020-05-29Refactor InputDescription API into Input APIEthan P
2020-05-29Add InputDescription APIEthan P
2020-05-16Print error message when invalid syntax is specifiedEthan P
2020-05-16Refactor HighlightingAssets::get_syntax to return Result typeEthan P
2020-05-15Allow application to be built without git supportEthan P
2020-05-12Remove padding if the header style is not enabledPrat T
2020-05-12Add padding above headers when no gridPrat T
2020-04-24Add annotations againsharkdp
2020-04-24Skip non-file inputs when using --diffsharkdp
2020-04-24Fix some clippy lintsLzu Tao
2020-04-24Implementation of 'bat --diff'sharkdp