aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-utils/src/plugin_api/event.proto
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2026-04-17 14:08:48 +0200
committerGitHub <noreply@github.com>2026-04-17 14:08:48 +0200
commitaa29cbaf6631af0afca6aae427a97b3e478393b3 (patch)
tree0ee1cab0f7bdc66cf151f38341252701338c1853 /zellij-utils/src/plugin_api/event.proto
parentfix(windows): skip modifier re-encoding for Char keys in cast_crossterm_key (... (diff)
downloadsl0ppij-aa29cbaf6631af0afca6aae427a97b3e478393b3.tar.gz
sl0ppij-aa29cbaf6631af0afca6aae427a97b3e478393b3.tar.xz
sl0ppij-aa29cbaf6631af0afca6aae427a97b3e478393b3.zip
Some idle CPU and disk/io fixes, new CommandChanged plugin Event (#5063)
* initial implementation * fix mouse cpu spam * prevent excess metadata write and prune sessions on startup * consolidate CommandChanged and PaneCommandChanged * tests * rustfmt * add pr
Diffstat (limited to 'zellij-utils/src/plugin_api/event.proto')
-rw-r--r--zellij-utils/src/plugin_api/event.proto9
1 files changed, 9 insertions, 0 deletions
diff --git a/zellij-utils/src/plugin_api/event.proto b/zellij-utils/src/plugin_api/event.proto
index ce9eb8ff..3c3a8490 100644
--- a/zellij-utils/src/plugin_api/event.proto
+++ b/zellij-utils/src/plugin_api/event.proto
@@ -67,6 +67,7 @@ enum EventType {
HighlightClicked = 42;
PaneRenderReportWithAnsi = 43;
InitialKeybinds = 44;
+ CommandChanged = 45;
}
message EventNameList {
@@ -113,6 +114,7 @@ message Event {
HighlightClickedPayload highlight_clicked_payload = 36;
PaneRenderReportPayload pane_render_report_with_ansi_payload = 37;
InitialKeybindsPayload initial_keybinds_payload = 38;
+ CommandChangedPayload command_changed_payload = 39;
}
}
@@ -122,6 +124,13 @@ message CwdChangedPayload {
repeated uint32 focused_client_ids = 3;
}
+message CommandChangedPayload {
+ PaneId pane_id = 1;
+ repeated string command = 2;
+ bool is_foreground = 3;
+ repeated uint32 focused_client_ids = 4;
+}
+
message FailedToStartWebServerPayload {
string error = 1;
}