summaryrefslogtreecommitdiffstats
path: root/zellij-client
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2021-05-28 11:46:00 +0200
committerAram Drevekenin <aram@poor.dev>2021-05-28 11:46:00 +0200
commitbc99f81960d34939afe33278d3e4f8e1119c1961 (patch)
tree57e093eb0472d06295d21024935be8b7ff41e709 /zellij-client
parent4ac77874ac2885a4685f0ad83110a8b11db6ace5 (diff)
style(clippy): minor fix
Diffstat (limited to 'zellij-client')
-rw-r--r--zellij-client/src/os_input_output.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/zellij-client/src/os_input_output.rs b/zellij-client/src/os_input_output.rs
index 1c5026740..0606ae374 100644
--- a/zellij-client/src/os_input_output.rs
+++ b/zellij-client/src/os_input_output.rs
@@ -161,10 +161,10 @@ impl ClientOsApi for ClientOsInputOutput {
*self.receive_instructions_from_server.lock().unwrap() = Some(receiver);
}
fn load_palette(&self) -> Palette {
- let palette = default_palette();
// this was removed because termbg doesn't release stdin in certain scenarios (we know of
// windows terminal and FreeBSD): https://github.com/zellij-org/zellij/issues/538
//
+ // let palette = default_palette();
// let timeout = std::time::Duration::from_millis(100);
// if let Ok(rgb) = termbg::rgb(timeout) {
// palette.bg = PaletteColor::Rgb((rgb.r as u8, rgb.g as u8, rgb.b as u8));
@@ -172,7 +172,7 @@ impl ClientOsApi for ClientOsInputOutput {
// // this should be done in the same method (OSC ]11), but there might be other
// // considerations here, hence using the library
// };
- palette
+ default_palette()
}
}