diff options
author | Christian Duerr <contact@christianduerr.com> | 2020-12-05 09:03:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-05 12:03:03 +0300 |
commit | 9e71002e40d5487c6fa2571a3a3c4f5c8f679334 (patch) | |
tree | 4704bcd1029b0b236967e1ffc8be49e36a235440 /alacritty/src | |
parent | de9ed259667588285891eda1665cd3edefcd3297 (diff) | |
download | r-alacritty-9e71002e40d5487c6fa2571a3a3c4f5c8f679334.tar.gz r-alacritty-9e71002e40d5487c6fa2571a3a3c4f5c8f679334.tar.bz2 r-alacritty-9e71002e40d5487c6fa2571a3a3c4f5c8f679334.zip |
Fix dimming of indexed colors
It seems like the list of colors might have changed a bit, leading to
indexed colors not being transformed into their dim colors correctly.
To prevent this from happening in the future, the dimming for colors in
the range '0..=7' is now performed by offsetting them from the
'NamedColor::DimBlack'. Since this is the first dimmed color, this
should always work as long as all dimmed colors are added in the correct
order.
Diffstat (limited to 'alacritty/src')
0 files changed, 0 insertions, 0 deletions