wip: remove colored_borders
This commit is contained in:
parent
2bc40e5402
commit
2913286d9e
4 changed files with 1 additions and 10 deletions
|
|
@ -57,7 +57,7 @@ impl Display for BoundarySymbol {
|
||||||
match self.invisible {
|
match self.invisible {
|
||||||
true => write!(f, " "),
|
true => write!(f, " "),
|
||||||
false => match self.color {
|
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),
|
None => write!(f, "{}", self.boundary_type),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,6 @@ pub struct PluginPane {
|
||||||
pub should_render: bool,
|
pub should_render: bool,
|
||||||
pub selectable: bool,
|
pub selectable: bool,
|
||||||
pub invisible_borders: bool,
|
pub invisible_borders: bool,
|
||||||
pub colored_borders: bool,
|
|
||||||
pub position_and_size: PositionAndSize,
|
pub position_and_size: PositionAndSize,
|
||||||
pub position_and_size_override: Option<PositionAndSize>,
|
pub position_and_size_override: Option<PositionAndSize>,
|
||||||
pub send_plugin_instructions: SenderWithContext<PluginInstruction>,
|
pub send_plugin_instructions: SenderWithContext<PluginInstruction>,
|
||||||
|
|
@ -29,7 +28,6 @@ impl PluginPane {
|
||||||
should_render: true,
|
should_render: true,
|
||||||
selectable: true,
|
selectable: true,
|
||||||
invisible_borders: false,
|
invisible_borders: false,
|
||||||
colored_borders: false,
|
|
||||||
position_and_size,
|
position_and_size,
|
||||||
position_and_size_override: None,
|
position_and_size_override: None,
|
||||||
send_plugin_instructions,
|
send_plugin_instructions,
|
||||||
|
|
@ -190,7 +188,4 @@ impl Pane for PluginPane {
|
||||||
fn invisible_borders(&self) -> bool {
|
fn invisible_borders(&self) -> bool {
|
||||||
self.invisible_borders
|
self.invisible_borders
|
||||||
}
|
}
|
||||||
fn colored_borders(&self) -> bool {
|
|
||||||
self.colored_borders
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -179,9 +179,6 @@ pub trait Pane {
|
||||||
fn invisible_borders(&self) -> bool {
|
fn invisible_borders(&self) -> bool {
|
||||||
false
|
false
|
||||||
}
|
}
|
||||||
fn colored_borders(&self) -> bool {
|
|
||||||
false
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Tab {
|
impl Tab {
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,6 @@ use wasmer::{ChainableNamedResolver, Instance, Module, Store, Value};
|
||||||
use wasmer_wasi::{Pipe, WasiState};
|
use wasmer_wasi::{Pipe, WasiState};
|
||||||
|
|
||||||
use crate::cli::CliArgs;
|
use crate::cli::CliArgs;
|
||||||
use crate::common::utils::logging::debug_log_to_file;
|
|
||||||
use crate::layout::Layout;
|
use crate::layout::Layout;
|
||||||
use command_is_executing::CommandIsExecuting;
|
use command_is_executing::CommandIsExecuting;
|
||||||
use errors::{AppContext, ContextType, ErrorContext, PluginContext, PtyContext, ScreenContext};
|
use errors::{AppContext, ContextType, ErrorContext, PluginContext, PtyContext, ScreenContext};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue