1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-01 00:35:46 +03:00

mux: respect color scheme option for remote tabs

This commit is contained in:
Wez Furlong 2020-01-25 23:05:02 -08:00
parent d52881a04e
commit cdbb131833

View File

@ -317,7 +317,15 @@ impl Tab for ClientTab {
}
fn palette(&self) -> ColorPalette {
configuration()
let config = configuration();
if let Some(scheme_name) = config.color_scheme.as_ref() {
if let Some(palette) = config.color_schemes.get(scheme_name) {
return palette.clone().into();
}
}
config
.colors
.as_ref()
.cloned()