1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-11 13:51:01 -05:00

Fix selection not inverting terminal background

Fixes a regression introduced in
9a0555bbba where the terminal background
would not get inverted when selected.
This commit is contained in:
Christian Duerr 2019-09-26 20:55:30 +02:00 committed by GitHub
parent 9a0555bbba
commit 87cf14a4b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -289,6 +289,8 @@ impl RenderableCell {
// Invert cell fg and bg colors // Invert cell fg and bg colors
mem::swap(&mut fg_rgb, &mut bg_rgb); mem::swap(&mut fg_rgb, &mut bg_rgb);
} }
bg_alpha = 1.0;
} }
// Override selection text with config colors // Override selection text with config colors