aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-utils/src/plugin_api/event.proto
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2024-08-16 14:00:01 +0200
committerGitHub <noreply@github.com>2024-08-16 14:00:01 +0200
commit056537d3eef06cddc60dc13b715a41766bb1fe9d (patch)
treeff7e107e992e4c98ac60ac88da7215cb0beb668a /zellij-utils/src/plugin_api/event.proto
parentdocs(changelog): CommandPaneReRun plugin event (diff)
downloadsl0ppij-056537d3eef06cddc60dc13b715a41766bb1fe9d.tar.gz
sl0ppij-056537d3eef06cddc60dc13b715a41766bb1fe9d.tar.xz
sl0ppij-056537d3eef06cddc60dc13b715a41766bb1fe9d.zip
feat(ux): first run setup-wizard (#3556)
* separate saved/runtime structure, kind of working * serializing config * work * work * save config through the configuration screen * work * startup wizard * style(code): cleanups * fix(session): reload config from disk when switching sessions * style(fmt): rustfmt * fix(config): propagate cli config options to screen * style(fmt): rustfmt
Diffstat (limited to 'zellij-utils/src/plugin_api/event.proto')
-rw-r--r--zellij-utils/src/plugin_api/event.proto6
1 files changed, 6 insertions, 0 deletions
diff --git a/zellij-utils/src/plugin_api/event.proto b/zellij-utils/src/plugin_api/event.proto
index 610a3ac4..a985806f 100644
--- a/zellij-utils/src/plugin_api/event.proto
+++ b/zellij-utils/src/plugin_api/event.proto
@@ -48,6 +48,7 @@ enum EventType {
EditPaneOpened = 22;
EditPaneExited = 23;
CommandPaneReRun = 24;
+ FailedToWriteConfigToDisk = 25;
}
message EventNameList {
@@ -77,9 +78,14 @@ message Event {
EditPaneOpenedPayload edit_pane_opened_payload = 19;
EditPaneExitedPayload edit_pane_exited_payload = 20;
CommandPaneReRunPayload command_pane_rerun_payload = 21;
+ FailedToWriteConfigToDiskPayload failed_to_write_config_to_disk_payload = 22;
}
}
+message FailedToWriteConfigToDiskPayload {
+ optional string file_path = 1;
+}
+
message CommandPaneReRunPayload {
uint32 terminal_pane_id = 1;
repeated ContextItem context = 3;