Skip to content

Commit

Permalink
Fix selection not inverting terminal background
Browse files Browse the repository at this point in the history
Fixes a regression introduced in
9a0555b where the terminal background
would not get inverted when selected.
  • Loading branch information
chrisduerr authored Sep 26, 2019
1 parent 9a0555b commit 87cf14a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions alacritty_terminal/src/term/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 87cf14a

Please sign in to comment.