summaryrefslogtreecommitdiffstats
path: root/default-plugins
diff options
context:
space:
mode:
authordenis <denismaximov98@gmail.com>2021-05-02 12:57:48 +0300
committerdenis <denismaximov98@gmail.com>2021-05-02 12:57:48 +0300
commit56cf44627596edab8959c18df655caf3acd705f1 (patch)
tree507dd906650262957effcee55ec4ce7326b70557 /default-plugins
parentd48cc815368c6424977f3c6908e81e213fa260e1 (diff)
chore: added zellij-tile-extra, moved macros from zellij-tile
Diffstat (limited to 'default-plugins')
-rw-r--r--default-plugins/status-bar/Cargo.toml1
-rw-r--r--default-plugins/status-bar/src/main.rs1
-rw-r--r--default-plugins/tab-bar/Cargo.toml1
-rw-r--r--default-plugins/tab-bar/src/line.rs1
-rw-r--r--default-plugins/tab-bar/src/tab.rs1
5 files changed, 5 insertions, 0 deletions
diff --git a/default-plugins/status-bar/Cargo.toml b/default-plugins/status-bar/Cargo.toml
index c94d8feb8..8c6cc85de 100644
--- a/default-plugins/status-bar/Cargo.toml
+++ b/default-plugins/status-bar/Cargo.toml
@@ -9,3 +9,4 @@ license = "MIT"
colored = "2"
ansi_term = "0.12"
zellij-tile = { path = "../../zellij-tile" }
+zellij-tile-extra = { path = "../../zellij-tile-extra" } \ No newline at end of file
diff --git a/default-plugins/status-bar/src/main.rs b/default-plugins/status-bar/src/main.rs
index 8b13e763b..93898cea3 100644
--- a/default-plugins/status-bar/src/main.rs
+++ b/default-plugins/status-bar/src/main.rs
@@ -5,6 +5,7 @@ use ansi_term::Style;
use std::fmt::{Display, Error, Formatter};
use zellij_tile::prelude::*;
+use zellij_tile_extra::*;
use first_line::{ctrl_keys, superkey};
use second_line::keybinds;
diff --git a/default-plugins/tab-bar/Cargo.toml b/default-plugins/tab-bar/Cargo.toml
index 59b95b4bf..d27144ddc 100644
--- a/default-plugins/tab-bar/Cargo.toml
+++ b/default-plugins/tab-bar/Cargo.toml
@@ -9,3 +9,4 @@ license = "MIT"
colored = "2"
ansi_term = "0.12"
zellij-tile = { path = "../../zellij-tile" }
+zellij-tile-extra = { path = "../../zellij-tile-extra" } \ No newline at end of file
diff --git a/default-plugins/tab-bar/src/line.rs b/default-plugins/tab-bar/src/line.rs
index ae287d2e8..98ad51668 100644
--- a/default-plugins/tab-bar/src/line.rs
+++ b/default-plugins/tab-bar/src/line.rs
@@ -2,6 +2,7 @@ use ansi_term::ANSIStrings;
use crate::{LinePart, ARROW_SEPARATOR};
use zellij_tile::prelude::*;
+use zellij_tile_extra::*;
fn get_current_title_len(current_title: &[LinePart]) -> usize {
current_title
diff --git a/default-plugins/tab-bar/src/tab.rs b/default-plugins/tab-bar/src/tab.rs
index cbe744466..ab110634a 100644
--- a/default-plugins/tab-bar/src/tab.rs
+++ b/default-plugins/tab-bar/src/tab.rs
@@ -1,6 +1,7 @@
use crate::{LinePart, ARROW_SEPARATOR};
use ansi_term::ANSIStrings;
use zellij_tile::prelude::*;
+use zellij_tile_extra::*;
pub fn active_tab(text: String, palette: Palette) -> LinePart {
let left_separator = style!(palette.bg, palette.green).paint(ARROW_SEPARATOR);