summaryrefslogtreecommitdiffstats
path: root/default-plugins/status-bar/src/tip/data/zellij_setup_check.rs
diff options
context:
space:
mode:
Diffstat (limited to 'default-plugins/status-bar/src/tip/data/zellij_setup_check.rs')
-rw-r--r--default-plugins/status-bar/src/tip/data/zellij_setup_check.rs14
1 files changed, 7 insertions, 7 deletions
diff --git a/default-plugins/status-bar/src/tip/data/zellij_setup_check.rs b/default-plugins/status-bar/src/tip/data/zellij_setup_check.rs
index c45deac20..3dd7b6d85 100644
--- a/default-plugins/status-bar/src/tip/data/zellij_setup_check.rs
+++ b/default-plugins/status-bar/src/tip/data/zellij_setup_check.rs
@@ -10,7 +10,7 @@ use zellij_tile_utils::palette_match;
macro_rules! strings {
($ANSIStrings:expr) => {{
- let strings: &[ANSIString<'static>] = $ANSIStrings;
+ let strings: &[ANSIString] = $ANSIStrings;
let ansi_strings = ANSIStrings(strings);
@@ -21,9 +21,9 @@ macro_rules! strings {
}};
}
-pub fn zellij_setup_check_full(palette: Palette) -> LinePart {
+pub fn zellij_setup_check_full(help: &ModeInfo) -> LinePart {
// Tip: Having issues with Zellij? Try running "zellij setup --check"
- let orange_color = palette_match!(palette.orange);
+ let orange_color = palette_match!(help.style.colors.orange);
strings!(&[
Style::new().paint(" Tip: "),
@@ -35,9 +35,9 @@ pub fn zellij_setup_check_full(palette: Palette) -> LinePart {
])
}
-pub fn zellij_setup_check_medium(palette: Palette) -> LinePart {
+pub fn zellij_setup_check_medium(help: &ModeInfo) -> LinePart {
// Tip: Run "zellij setup --check" to find issues
- let orange_color = palette_match!(palette.orange);
+ let orange_color = palette_match!(help.style.colors.orange);
strings!(&[
Style::new().paint(" Tip: "),
@@ -50,9 +50,9 @@ pub fn zellij_setup_check_medium(palette: Palette) -> LinePart {
])
}
-pub fn zellij_setup_check_short(palette: Palette) -> LinePart {
+pub fn zellij_setup_check_short(help: &ModeInfo) -> LinePart {
// Run "zellij setup --check" to find issues
- let orange_color = palette_match!(palette.orange);
+ let orange_color = palette_match!(help.style.colors.orange);
strings!(&[
Style::new().paint(" Run "),