Age | Commit message (Collapse) | Author |
|
|
|
Co-authored-by: Christian Duerr <contact@christianduerr.com>
|
|
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
|
|
It caused a clippy warning, too
|
|
* remove some clippy warnings
* revert comparison_chain clippy lint
Allow it locally
|
|
|
|
Reimplement utility functions from `console` crate, but with support
for OSC sequences.
|
|
|
|
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.
|
|
|