diff options
author | Christian Duerr <contact@christianduerr.com> | 2020-07-26 01:04:39 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-26 01:04:39 +0000 |
commit | bedf5f3004e8f33011925ca471be02ead96f4581 (patch) | |
tree | 0512bbd51514e5bca8be3b1f11cadffaa2eae113 /CHANGELOG.md | |
parent | 9a4d847d897016ac3f1662fec45d372b879072cd (diff) | |
download | alacritty-bedf5f3004e8f33011925ca471be02ead96f4581.tar.gz alacritty-bedf5f3004e8f33011925ca471be02ead96f4581.zip |
Invert fixed color cursor if it's close to cell bg
This should reduce the number of times people with fixed cursor colors
run into troubles when existing text is already colored.
Using just the background color as a metric instead of both background
and foreground color should ensure that the cursor still has a clear
shape, since just changing the foreground color for a cursor might be
difficult to see. Always inverting the entire cursor instead of keeping
the fixed foreground color is important to make sure the contrast isn't
messed up.
Fixes #4016.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b042b95..7a9beb7f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Secondary device attributes escape (`CSI > 0 c`) +### Changed + +- Cursors are now inverted when their fixed color is similar to the cell's background + ## 0.5.0-dev ### Packaging |