diff --git a/src/client/boundaries.rs b/src/client/boundaries.rs index 74859b0f4..85dfaa23b 100644 --- a/src/client/boundaries.rs +++ b/src/client/boundaries.rs @@ -57,7 +57,7 @@ impl Display for BoundarySymbol { match self.invisible { true => write!(f, " "), false => match self.color { - Some(color) => write!(f, "{}", self.color.unwrap().paint(self.boundary_type)), + Some(_) => write!(f, "{}", self.color.unwrap().paint(self.boundary_type)), None => write!(f, "{}", self.boundary_type), }, } diff --git a/src/client/panes/plugin_pane.rs b/src/client/panes/plugin_pane.rs index 52e4c5608..588cffd63 100644 --- a/src/client/panes/plugin_pane.rs +++ b/src/client/panes/plugin_pane.rs @@ -11,7 +11,6 @@ pub struct PluginPane { pub should_render: bool, pub selectable: bool, pub invisible_borders: bool, - pub colored_borders: bool, pub position_and_size: PositionAndSize, pub position_and_size_override: Option, pub send_plugin_instructions: SenderWithContext, @@ -29,7 +28,6 @@ impl PluginPane { should_render: true, selectable: true, invisible_borders: false, - colored_borders: false, position_and_size, position_and_size_override: None, send_plugin_instructions, @@ -190,7 +188,4 @@ impl Pane for PluginPane { fn invisible_borders(&self) -> bool { self.invisible_borders } - fn colored_borders(&self) -> bool { - self.colored_borders - } } diff --git a/src/client/tab.rs b/src/client/tab.rs index 6370daf05..5cb0fdcee 100644 --- a/src/client/tab.rs +++ b/src/client/tab.rs @@ -179,9 +179,6 @@ pub trait Pane { fn invisible_borders(&self) -> bool { false } - fn colored_borders(&self) -> bool { - false - } } impl Tab { diff --git a/src/common/mod.rs b/src/common/mod.rs index d52b5a4cd..7e52dde76 100644 --- a/src/common/mod.rs +++ b/src/common/mod.rs @@ -26,7 +26,6 @@ use wasmer::{ChainableNamedResolver, Instance, Module, Store, Value}; use wasmer_wasi::{Pipe, WasiState}; use crate::cli::CliArgs; -use crate::common::utils::logging::debug_log_to_file; use crate::layout::Layout; use command_is_executing::CommandIsExecuting; use errors::{AppContext, ContextType, ErrorContext, PluginContext, PtyContext, ScreenContext};