diff options
author | Christian Duerr <contact@christianduerr.com> | 2019-12-10 00:35:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-10 00:35:13 +0100 |
commit | 36185c47533d6189c9116df7a41a13766ca2b40c (patch) | |
tree | 80089a2da7de8701f59b1e692041f0de06c01aee /CHANGELOG.md | |
parent | 79b19176eeb57fbd6b137160afd6bc9f5518ad33 (diff) | |
download | alacritty-36185c47533d6189c9116df7a41a13766ca2b40c.tar.gz alacritty-36185c47533d6189c9116df7a41a13766ca2b40c.zip |
Fix colored row reset performance
This fixes a bug where a row would always get reset completely if its
background does not equal the default terminal background. This leads to
big performance bottlenecks when running commands like `echo "\e[41m" &&
yes`.
Instead of resetting the entire row whenever the template cell is not
empty, the template cell is now compared to the last cell in the row.
The last cell will always be equal to the previous template cell when
`row.occ < row.inner.len()` and if `occ` is equal to the row's length,
the entire row is always reset anyways.
Fixes #2989.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index c769d5d9..0ead9370 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,8 +23,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Clipboard escape `OSC 52` not working with empty clipboard parameter - Direct escape input on Windows using alt - Incorrect window size on X11 when waking up from suspend -- Incorrect width of Unicode 11/12 emojis +- Width of Unicode 11/12 emojis - Minimize on windows causing layout issues +- Performance bottleneck when clearing colored rows ## 0.4.0 |