From 910879642f3d7e4adb5403c799793483ffd5cdaa Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 16 Jul 2022 06:20:26 -0700 Subject: [PATCH] retro tab bar: use resolved palette for colors This allows tab bar colors to be defined in the toml file and take effect on the fancy tab bar! an example can be found at: https://github.com/catppuccin/wezterm/blob/main/dist/catppuccin-frappe.toml refs: https://github.com/catppuccin/wezterm/issues/6 --- wezterm-gui/src/termwindow/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wezterm-gui/src/termwindow/mod.rs b/wezterm-gui/src/termwindow/mod.rs index 0ecd04b17..0514b7d61 100644 --- a/wezterm-gui/src/termwindow/mod.rs +++ b/wezterm-gui/src/termwindow/mod.rs @@ -1576,7 +1576,7 @@ impl TermWindow { }, &tabs, &panes, - self.config.colors.as_ref().and_then(|c| c.tab_bar.as_ref()), + self.config.resolved_palette.tab_bar.as_ref(), &self.config, &self.right_status, );