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/plugin_api/plugin_command.proto | |
| 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/plugin_api/plugin_command.proto')
| -rw-r--r-- | zellij-utils/src/plugin_api/plugin_command.proto | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/zellij-utils/src/plugin_api/plugin_command.proto b/zellij-utils/src/plugin_api/plugin_command.proto index 0a0ad2b0..9c529013 100644 --- a/zellij-utils/src/plugin_api/plugin_command.proto +++ b/zellij-utils/src/plugin_api/plugin_command.proto @@ -176,6 +176,8 @@ enum CommandName { RenameLayout = 181; GetLayoutDir = 182; GetFocusedPaneInfo = 183; + TogglePaneBorderless = 184; + SetPaneBorderless = 185; } message PluginCommand { @@ -301,6 +303,8 @@ message PluginCommand { GetLayoutDirPayload get_layout_dir_payload = 132; DumpSessionLayoutPayload dump_session_layout_payload = 133; GetFocusedPaneInfoPayload get_focused_pane_info_payload = 134; + TogglePaneBorderlessPayload toggle_pane_borderless_payload = 135; + SetPaneBorderlessPayload set_pane_borderless_payload = 136; } } @@ -432,6 +436,15 @@ message SetFloatingPanePinnedPayload { bool should_be_pinned = 2; } +message TogglePaneBorderlessPayload { + PaneId pane_id = 1; +} + +message SetPaneBorderlessPayload { + PaneId pane_id = 1; + bool borderless = 2; +} + message ChangeHostFolderPayload { string new_host_folder = 1; } @@ -711,6 +724,7 @@ message FloatingPaneCoordinates { optional FixedOrPercentValue width = 3; optional FixedOrPercentValue height = 4; optional bool pinned = 5; + optional bool borderless = 6; } message FixedOrPercentValue { |
