summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
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-11style: simplify equality checkHamir Mahal
2024-03-10Merge pull request #2868 from cyqsimon/builtin-offload-v2David Peter
Faster startup by offloading glob matcher building to a worker thread
2024-03-10refactor: remove reference that is unnecessaryHamir Mahal
2024-02-29Add syntax mapping for Wireguard configcyqsimon
2024-02-26Add note on thread synchronizationcyqsimon
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 functionality to `SimplePrinter`einfachIrgendwer0815
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_empty_lines to PrettyPrinterEthan P
2024-02-24Add --squeeze/-s optionEthan P
Co-authored-by: einfachIrgendwer0815 <85333734+einfachIrgendwer0815@users.noreply.github.com>
2024-02-23Merge branch 'master' into skip-highlighting-when-no-colorDavid Peter
2024-02-23Merge branch 'master' into quadletDavid Peter
2024-02-23Merge pull request #2853 from ↵David Peter
einfachIrgendwer0815/document_default_style_components Document default style components
2024-02-23Merge branch 'master' into containers-confDavid Peter
2024-02-23Merge branch 'master' into masterDavid Peter
2024-02-23Merge pull request #2795 from mxaddict/masterDavid Peter
Added JSONC and aws credentials to the syntax mappings
2024-02-23Merge branch 'master' into skip-highlighting-when-no-colorDavid Peter
2024-02-23Merge pull request #2807 from Oliver-Looney/2783-setting-terminal-titleDavid Peter
2783 setting terminal title
2024-02-23Merge branch 'master' into masterDavid Peter
2024-02-21Builtin glob matchers build offload, v2cyqsimon
2024-02-20Apply clippy fixes (#2864)cyqsimon
* Apply clippy fixes * Write changelog
2024-02-21Map containers `.conf` files to TOML syntaxcyqsimon
2024-02-20Add syntax mapping for podman quadletscyqsimon
2024-02-12Merge branch 'master' into 2783-setting-terminal-titleOliver Looney
2024-02-12Merge branch 'master' into fix-2185David Peter
2024-02-11Skip syntax parsing when color output disabledEthan P.
2024-02-11Split syntax highlighting from print_line into fnEthan P.
This simplifies the `print_line` function a little bit while also providing a way for syntax highlighting to be skipped when it's not being used (i.e. `--color=never`).
2024-02-11Test for correct categorization of SGR sequencesEthan P.
This adds a regression test for the fix in the previous commit.
2024-02-11Fix incorrect categorization of SGR sequencesEthan P.
Specifically, prevent other attributes from leaking into the bold/dim/italic/underline attributes, and ensure that bright backgrounds are put into the background attribute instead of the foreground attribute.
2024-02-11Fix off-by-one error in line number continuationEthan P.
2024-02-11Merge branch 'master' into 2783-setting-terminal-titleOliver Looney
2024-02-11Mention which style components are the defaulteinfachIrgendwer0815
2024-02-11Added JSONC and aws credentials to the syntax mappingsmxaddict
2024-02-09Remove hyperlink when wrapping linesEthan P
2024-02-09Re-emit hyperlinks when wrapping linesEthan P
2024-02-09Replace AnsiCodeIterator in printer.rsEthan P
This uses the new EscapeSequenceIterator, saving us a preprocessing step for each line.
2024-02-09Add EscapeSequenceIteratorEthan P
This is an iterator for escape sequences, using EscapeSequenceOffsetsIterator for the underlying parsing of individual escape sequences.
2024-02-09Strip OSC sequences before printingEthan P
This commit strips OSC (Operating System Command) sequences before printing lines. Eventually when time permits, I want to add back support for printing OSC sequences (and improve it to treat hyperlinks like an attribute). Until then, this should help prevent garbled output :)
2024-02-09Add EscapeSequenceOffsetsIteratorEthan P
This can be used to extract a subset of ANSI escape sequences from a string of text. I have big plans for this eventually, but for now, it'll be used to strip OSC before printing.
2024-02-08Eliminate dependency on serde's "derive" featureDavid Tolnay
2024-02-08undid unnecessary api visibility changesOliver looney
2024-02-08Using hypens instead of underscores for set-terminal-title commandOliver looney
2024-01-31Create xonsh.tomlAndy Kipp