diff options
author | Christian Duerr <contact@christianduerr.com> | 2019-09-26 20:55:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-26 20:55:30 +0200 |
commit | 87cf14a4b79146240b74ab473faf542b72e5e939 (patch) | |
tree | 68f11c8a46306b22b149ab113e6d8d098947731f | |
parent | 9a0555bbba30c264f617ec9260ca00e0eab70870 (diff) | |
download | alacritty-87cf14a4b79146240b74ab473faf542b72e5e939.tar.gz alacritty-87cf14a4b79146240b74ab473faf542b72e5e939.zip |
Fix selection not inverting terminal background
Fixes a regression introduced in
9a0555bbba30c264f617ec9260ca00e0eab70870 where the terminal background
would not get inverted when selected.
-rw-r--r-- | alacritty_terminal/src/term/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/alacritty_terminal/src/term/mod.rs b/alacritty_terminal/src/term/mod.rs index 258e4ebd..17416bad 100644 --- a/alacritty_terminal/src/term/mod.rs +++ b/alacritty_terminal/src/term/mod.rs @@ -289,6 +289,8 @@ impl RenderableCell { // Invert cell fg and bg colors mem::swap(&mut fg_rgb, &mut bg_rgb); } + + bg_alpha = 1.0; } // Override selection text with config colors |