summaryrefslogtreecommitdiffstats
path: root/src/ansi
AgeCommit message (Collapse)Author
2020-12-05Resolve TODODan Davison
2020-12-05Update handling of underline caseDan Davison
Co-authored-by: Christian Duerr <contact@christianduerr.com>
2020-12-05Update to vte 0.9.0Dan Davison
See https://github.com/alacritty/vte/releases/tag/v0.9.0 https://github.com/alacritty/vte/compare/v0.8.0...v0.9.0 https://github.com/alacritty/alacritty/commit/576252294d09c1f52ec73bde03652349bdf5a529#diff-49ac9e6f6e6a855312bfcd393201f18ca53e6148c4a22a3a4949f1f9d1d137a8
2020-11-22remove unuseful to_vec function (#397)Marco Ieni
It caused a clippy warning, too
2020-11-07remove some clippy warnings (#383)Marco Ieni
* remove some clippy warnings * revert comparison_chain clippy lint Allow it locally
2020-11-05fix some clippy warnings (#380)Marco Ieni
2020-08-14New ANSI escape sequence parser based on vteDan Davison
Reimplement utility functions from `console` crate, but with support for OSC sequences.
2020-08-01Change parse_first_style() to take &str instead of bytes iteratorDan Davison
2020-08-01Bug fix: honor blink attributes in ANSI parserDan Davison
Before this, setting `color.diff.old = blink` broke Delta as follows: - Git outputs SGR attribute 5 (blink slow) - Delta at start-up parsed that style string (using Delta's style string parsing code) to a style object without the blink flag set - Subsequently, Delta encountered the ANSI sequences in the raw line from Git and parsed them using vte to a style object with the blink flag set - The two compared unequal, triggering Delta to think that it had seen a line that was not a normal minus line. When Delta reaches that conclusion, it (per d9a07679df and surrounding commits) outputs the raw line with its ANSI sequences intact, rather than creating the usual Delta output for that line.
2020-08-01Parse ANSI escape sequences as ansi_term StyleDan Davison