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:
parent
d52881a04e
commit
cdbb131833
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user