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 /docs | |
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 'docs')
0 files changed, 0 insertions, 0 deletions