aboutsummaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authordenis <denismaximov98@gmail.com>2021-04-24 11:42:40 +0300
committerdenis <denismaximov98@gmail.com>2021-04-24 11:42:40 +0300
commitde72d3d2fb785117e599d17525b5043345ffa03c (patch)
treeb727c160d8e09302120476701a0dd243fab9dfad /src/common
parentwip: colors adjustments (diff)
downloadsl0ppij-de72d3d2fb785117e599d17525b5043345ffa03c.tar.gz
sl0ppij-de72d3d2fb785117e599d17525b5043345ffa03c.tar.xz
sl0ppij-de72d3d2fb785117e599d17525b5043345ffa03c.zip
wip: tab bar coloring
Diffstat (limited to 'src/common')
-rw-r--r--src/common/mod.rs6
-rw-r--r--src/common/utils/shared.rs2
2 files changed, 2 insertions, 6 deletions
diff --git a/src/common/mod.rs b/src/common/mod.rs
index af189915..0f896d1e 100644
--- a/src/common/mod.rs
+++ b/src/common/mod.rs
@@ -27,7 +27,6 @@ use crate::common::input::config::Config;
use crate::layout::Layout;
use crate::panes::PaneId;
use async_std::task_local;
-use colors_transform::{Color, Rgb};
use command_is_executing::CommandIsExecuting;
use directories_next::ProjectDirs;
use errors::{
@@ -45,10 +44,7 @@ use wasm_vm::PluginEnv;
use wasm_vm::{wasi_stdout, wasi_write_string, zellij_imports, PluginInstruction};
use wasmer::{ChainableNamedResolver, Instance, Module, Store, Value};
use wasmer_wasi::{Pipe, WasiState};
-use xrdb::Colors;
-use zellij_tile::data::{EventType, InputMode, ModeInfo, Palette, Theme};
-
-use self::utils::logging::debug_log_to_file;
+use zellij_tile::data::{EventType, InputMode, ModeInfo};
#[derive(Serialize, Deserialize, Debug)]
pub enum ApiCommand {
diff --git a/src/common/utils/shared.rs b/src/common/utils/shared.rs
index 4036a240..e559ebc1 100644
--- a/src/common/utils/shared.rs
+++ b/src/common/utils/shared.rs
@@ -6,7 +6,7 @@ use strip_ansi_escapes::strip;
use colors_transform::{Color, Rgb};
use xrdb::Colors;
-use zellij_tile::data::{Palette, Theme, PaletteSource};
+use zellij_tile::data::{Palette, PaletteSource, Theme};
fn ansi_len(s: &str) -> usize {
from_utf8(&strip(s.as_bytes()).unwrap())