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
1 changed files with 2 additions and 0 deletions

View File

@ -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