diff options
| author | Aram Drevekenin <aram@poor.dev> | 2026-01-20 10:13:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-20 10:13:37 +0100 |
| commit | 03c86d09cf301db9a62427170f956a632812d67e (patch) | |
| tree | 5eee73d6201cbe2066ec258a0b7612e84e97aa6d /zellij-utils/src/input/layout.rs | |
| parent | Fix: allow 0% coordinate specification for floating panes (#4609) (diff) | |
| download | sl0ppij-03c86d09cf301db9a62427170f956a632812d67e.tar.gz sl0ppij-03c86d09cf301db9a62427170f956a632812d67e.tar.xz sl0ppij-03c86d09cf301db9a62427170f956a632812d67e.zip | |
Allow toggling pane frames for specific panes (#4615)
* initial implementation
* add borderless to edit and plugin cli commands
* allow changing existing pane to borderless
* allow setting in layouts and keybindings
* get to work through the existing plugin api commands
* fix when applying (swap) layouts
* fix tests
* allow setting pane as bordered (borderful?) when changing its coordinates (eg. through the cli)
* allow explicitly setting a pane as bordered or borderless without toggling
* rustfmt
* adjust snapshots
* docs(changelog): add PR
Diffstat (limited to 'zellij-utils/src/input/layout.rs')
| -rw-r--r-- | zellij-utils/src/input/layout.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/zellij-utils/src/input/layout.rs b/zellij-utils/src/input/layout.rs index a7b2ebc6..75b1e70b 100644 --- a/zellij-utils/src/input/layout.rs +++ b/zellij-utils/src/input/layout.rs @@ -790,6 +790,7 @@ pub struct FloatingPaneLayout { pub x: Option<PercentOrFixed>, pub y: Option<PercentOrFixed>, pub pinned: Option<bool>, + pub borderless: Option<bool>, pub run: Option<Run>, pub focus: Option<bool>, pub already_running: bool, @@ -806,6 +807,7 @@ impl FloatingPaneLayout { x: None, y: None, pinned: None, + borderless: None, run: None, focus: None, already_running: false, @@ -846,7 +848,7 @@ pub struct TiledPaneLayout { pub children: Vec<TiledPaneLayout>, pub split_size: Option<SplitSize>, pub run: Option<Run>, - pub borderless: bool, + pub borderless: Option<bool>, pub focus: Option<bool>, pub external_children_index: Option<usize>, pub children_are_stacked: bool, |
