aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-server
diff options
context:
space:
mode:
authoruser <user@clank>2026-08-08 21:19:04 +0200
committeruser <user@clank>2026-08-08 21:19:04 +0200
commit72d5201b52624a5cf3e530397b909c2f3d008dcf (patch)
tree882187ac08cb128bc2f5359d4c4b1a9dad019d59 /zellij-server
parentsl0p: CSS-style 1/2/4-value shorthand for inner padding (diff)
downloadsl0ppij-72d5201b52624a5cf3e530397b909c2f3d008dcf.tar.gz
sl0ppij-72d5201b52624a5cf3e530397b909c2f3d008dcf.tar.xz
sl0ppij-72d5201b52624a5cf3e530397b909c2f3d008dcf.zip
docs: prepend sl0ppij fork header to README
Anyone cloning this repo got stock Zellij's README and no indication the binary behaves differently, with the new options discoverable only from commit messages. Documents the four config options, which changes apply live vs need a new session, the fastdev build profile, and the known rough edges. Two corrections while writing it: - The frameless-mode caveat is stated honestly. `padding` DOES still inset content when pane frames are off, but the vacated cells are not repainted because ui/boundaries.rs owns that region, so stale glyphs are expected on resize. That is a real limitation, not the deliberate design the first draft claimed. gap/padding are documented as full-frame only for now. - Deduplicated the borderless-pane comment in both panes, which scripted patching had left repeated three times.
Diffstat (limited to 'zellij-server')
-rw-r--r--zellij-server/src/panes/plugin_pane.rs10
-rw-r--r--zellij-server/src/panes/terminal_pane.rs4
2 files changed, 4 insertions, 10 deletions
diff --git a/zellij-server/src/panes/plugin_pane.rs b/zellij-server/src/panes/plugin_pane.rs
index 6c1e8707..76a94662 100644
--- a/zellij-server/src/panes/plugin_pane.rs
+++ b/zellij-server/src/panes/plugin_pane.rs
@@ -763,12 +763,10 @@ impl Pane for PluginPane {
self.gap_offset = gap_offset;
}
fn set_content_offset(&mut self, offset: Offset) {
- // see terminal_pane.rs: borderless panes are chrome (this is the one
- // that matters in practice - zjstatus/status-bar/tab-bar are plugins)
- // borderless panes are UI chrome (status bar, tab bar): they are sized
- // exactly to their content, so insetting them makes them vanish
- // borderless panes are UI chrome (status bar, tab bar): they are sized
- // exactly to their content, so insetting them at all makes them vanish
+ // see terminal_pane.rs: borderless panes are chrome and are sized exactly
+ // to their content, so insetting them at all makes them vanish. This is
+ // the impl that matters in practice - zjstatus/status-bar/tab-bar are
+ // all plugin panes.
let inset = if self.borderless {
Offset::default()
} else {
diff --git a/zellij-server/src/panes/terminal_pane.rs b/zellij-server/src/panes/terminal_pane.rs
index 7fb78171..0e2188f2 100644
--- a/zellij-server/src/panes/terminal_pane.rs
+++ b/zellij-server/src/panes/terminal_pane.rs
@@ -982,10 +982,6 @@ impl Pane for TerminalPane {
}
fn set_content_offset(&mut self, offset: Offset) {
// borderless panes are UI chrome (status bar, tab bar): they are sized
- // exactly to their content, so insetting them makes them vanish
- // borderless panes are UI chrome (status bar, tab bar): they are sized
- // exactly to their content, so insetting them makes them vanish
- // borderless panes are UI chrome (status bar, tab bar): they are sized
// exactly to their content, so insetting them at all makes them vanish
let inset = if self.borderless {
Offset::default()