aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-utils/src/plugin_api/plugin_command.proto
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2025-06-26 13:51:17 +0200
committerGitHub <noreply@github.com>2025-06-26 13:51:17 +0200
commit11015c8fe4db1a8ffe77e0c569f0e026c53d9776 (patch)
tree82c8513128e4be58cf6ac991b9872c9b44be5b46 /zellij-utils/src/plugin_api/plugin_command.proto
parentdocs(changelog): terminal performance (diff)
downloadsl0ppij-11015c8fe4db1a8ffe77e0c569f0e026c53d9776.tar.gz
sl0ppij-11015c8fe4db1a8ffe77e0c569f0e026c53d9776.tar.xz
sl0ppij-11015c8fe4db1a8ffe77e0c569f0e026c53d9776.zip
feat(plugin-api): allow replacing pane with existing pane (#4246)
* work * make the api work * some cleanups * close pane * style(fmt): rustfmt
Diffstat (limited to 'zellij-utils/src/plugin_api/plugin_command.proto')
-rw-r--r--zellij-utils/src/plugin_api/plugin_command.proto7
1 files changed, 7 insertions, 0 deletions
diff --git a/zellij-utils/src/plugin_api/plugin_command.proto b/zellij-utils/src/plugin_api/plugin_command.proto
index 4c1db71f..b1797214 100644
--- a/zellij-utils/src/plugin_api/plugin_command.proto
+++ b/zellij-utils/src/plugin_api/plugin_command.proto
@@ -158,6 +158,7 @@ enum CommandName {
RenameWebLoginToken = 142;
InterceptKeyPresses = 143;
ClearKeyPressesIntercepts = 144;
+ ReplacePaneWithExistingPane = 155;
}
message PluginCommand {
@@ -263,9 +264,15 @@ message PluginCommand {
GenerateWebLoginTokenPayload generate_web_login_token_payload = 108;
RevokeWebLoginTokenPayload revoke_web_login_token_payload = 109;
RenameWebLoginTokenPayload rename_web_login_token_payload = 110;
+ ReplacePaneWithExistingPanePayload replace_pane_with_existing_pane_payload = 111;
}
}
+message ReplacePaneWithExistingPanePayload {
+ PaneId pane_id_to_replace = 1;
+ PaneId existing_pane_id = 2;
+}
+
message RenameWebLoginTokenPayload {
string old_name = 1;
string new_name = 2;