mirror of
https://github.com/zellij-org/zellij.git
synced 2024-11-23 19:10:09 +03:00
wip: remove colored_borders
This commit is contained in:
parent
2bc40e5402
commit
2913286d9e
@ -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),
|
||||
},
|
||||
}
|
||||
|
@ -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<PositionAndSize>,
|
||||
pub send_plugin_instructions: SenderWithContext<PluginInstruction>,
|
||||
@ -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
|
||||
}
|
||||
}
|
||||
|
@ -179,9 +179,6 @@ pub trait Pane {
|
||||
fn invisible_borders(&self) -> bool {
|
||||
false
|
||||
}
|
||||
fn colored_borders(&self) -> bool {
|
||||
false
|
||||
}
|
||||
}
|
||||
|
||||
impl Tab {
|
||||
|
@ -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};
|
||||
|
Loading…
Reference in New Issue
Block a user