How to draw a divider after a pane? #3862
-
Hi, 👋🏽 I prefer layout {
pane size=1 borderless=true {
plugin location="tab-bar"
}
pane
+ vertical line
pane size=1 borderless=true {
plugin location="status-bar"
}
} Is it possible? Thanks for Zellij 🍩 |
Beta Was this translation helpful? Give feedback.
Answered by
JohnDowson
Jan 11, 2025
Replies: 1 comment
-
A plugin to do this would be trivial: use zellij_tile::prelude::*;
use std::collections::BTreeMap;
#[derive(Default)]
struct State;
register_plugin!(State);
impl ZellijPlugin for State {
fn load(&mut self, _: BTreeMap<String, String>) {}
fn update(&mut self, _: Event) -> bool {
false
}
fn pipe(&mut self, _: PipeMessage) -> bool {
false
}
fn render(&mut self, _: usize, cols: usize) {
println!("{}", "─".repeat(cols));
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
azzamsa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A plugin to do this would be trivial: