wezterm: fix transparency for splits

refs: #141
This commit is contained in:
Wez Furlong committed 2020-10-19 08:39:36 -07:00
1 parent aa660d5d06
commit 5b92167d19
1 file changed
+8 -1
+8 -1
View File
@@ -2535,7 +2535,14 @@ impl TermWindow {
};
let palette = pane.palette();
let foreground = rgbcolor_to_window_color(palette.foreground);
let background = rgbcolor_to_window_color(palette.background);
let background = rgbcolor_alpha_to_window_color(
palette.background,
if self.window_background.is_none() && config.window_background_opacity == 1.0 {
0xff
} else {
(config.window_background_tint * 255.0) as u8
},
);
let style = self.fonts.match_style(&config, &CellAttributes::default());
let glyph_info = {