aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-utils/src/plugin_api/plugin_command.proto
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2026-02-25 09:48:47 +0100
committerGitHub <noreply@github.com>2026-02-25 09:48:47 +0100
commit6e0dd8e51cae440c1453c983740abc6869c46029 (patch)
tree7b7a4aaef1fc5df6ad7c56e572aad50f19858f46 /zellij-utils/src/plugin_api/plugin_command.proto
parentfix: respect user's cursor choice in web client even when terminal overrides ... (diff)
downloadsl0ppij-6e0dd8e51cae440c1453c983740abc6869c46029.tar.gz
sl0ppij-6e0dd8e51cae440c1453c983740abc6869c46029.tar.xz
sl0ppij-6e0dd8e51cae440c1453c983740abc6869c46029.zip
Atomic show hide floating panes (#4764)
* atomic show/hide floating panes (cli, plugin API, keybinding) * rustfmt * add pr
Diffstat (limited to 'zellij-utils/src/plugin_api/plugin_command.proto')
-rw-r--r--zellij-utils/src/plugin_api/plugin_command.proto26
1 files changed, 26 insertions, 0 deletions
diff --git a/zellij-utils/src/plugin_api/plugin_command.proto b/zellij-utils/src/plugin_api/plugin_command.proto
index e3e1ee4b..7ba3aabe 100644
--- a/zellij-utils/src/plugin_api/plugin_command.proto
+++ b/zellij-utils/src/plugin_api/plugin_command.proto
@@ -196,6 +196,8 @@ enum CommandName {
OpenCommandPaneInPlaceOfPaneId = 201;
OpenTerminalPaneInPlaceOfPaneId = 202;
OpenEditPaneInPlaceOfPaneId = 203;
+ HideFloatingPanes = 204;
+ ShowFloatingPanes = 205;
}
message PluginCommand {
@@ -341,6 +343,8 @@ message PluginCommand {
OpenCommandPaneInPlaceOfPaneIdPayload open_command_pane_in_place_of_pane_id_payload = 152;
OpenTerminalPaneInPlaceOfPaneIdPayload open_terminal_pane_in_place_of_pane_id_payload = 153;
OpenEditPaneInPlaceOfPaneIdPayload open_edit_pane_in_place_of_pane_id_payload = 154;
+ HideFloatingPanesPayload hide_floating_panes_payload = 155;
+ ShowFloatingPanesPayload show_floating_panes_payload = 156;
}
}
@@ -1186,3 +1190,25 @@ message OpenTerminalPaneInPlaceOfPaneIdResponse {
message OpenEditPaneInPlaceOfPaneIdResponse {
optional PaneId pane_id = 1;
}
+
+message HideFloatingPanesPayload {
+ optional uint32 tab_id = 1;
+}
+
+message ShowFloatingPanesPayload {
+ optional uint32 tab_id = 1;
+}
+
+message ShowFloatingPanesResponse {
+ oneof result {
+ bool success = 1;
+ string error = 2;
+ }
+}
+
+message HideFloatingPanesResponse {
+ oneof result {
+ bool success = 1;
+ string error = 2;
+ }
+}