mux: respect color scheme option for remote tabs
This commit is contained in:
1 parent
d52881a04e
commit
cdbb131833
1 file changed
+9
-1
+9
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user