aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-utils/src/plugin_api/event.proto
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2026-04-28 17:14:59 +0200
committerGitHub <noreply@github.com>2026-04-28 17:14:59 +0200
commit227142dd567ee72bcc137c116bc1ce2b818975e7 (patch)
tree8958a994dddb80bf20ce1e6bf2694687736b0b19 /zellij-utils/src/plugin_api/event.proto
parentupgrade rustls-webpki (#5106) (diff)
downloadsl0ppij-227142dd567ee72bcc137c116bc1ce2b818975e7.tar.gz
sl0ppij-227142dd567ee72bcc137c116bc1ce2b818975e7.tar.xz
sl0ppij-227142dd567ee72bcc137c116bc1ce2b818975e7.zip
Support CSI2031 (dark/light theme switching) + remove STDIN cache to avoid stale color queries (#5105)
* initial phase 1 implementation * various fies * some fixes * fix fragmented stdin cases * some fixes * renaming * guard against old clients * implement csi 2031 * allow toggling theme with actions * rustfmt * fix: finalize trailing characters in ansi parser as well * add pr
Diffstat (limited to 'zellij-utils/src/plugin_api/event.proto')
-rw-r--r--zellij-utils/src/plugin_api/event.proto11
1 files changed, 11 insertions, 0 deletions
diff --git a/zellij-utils/src/plugin_api/event.proto b/zellij-utils/src/plugin_api/event.proto
index 3c3a8490..5334f434 100644
--- a/zellij-utils/src/plugin_api/event.proto
+++ b/zellij-utils/src/plugin_api/event.proto
@@ -68,6 +68,7 @@ enum EventType {
PaneRenderReportWithAnsi = 43;
InitialKeybinds = 44;
CommandChanged = 45;
+ HostTerminalThemeChanged = 46;
}
message EventNameList {
@@ -115,9 +116,19 @@ message Event {
PaneRenderReportPayload pane_render_report_with_ansi_payload = 37;
InitialKeybindsPayload initial_keybinds_payload = 38;
CommandChangedPayload command_changed_payload = 39;
+ HostTerminalThemeChangedPayload host_terminal_theme_changed_payload = 40;
}
}
+message HostTerminalThemeChangedPayload {
+ HostTerminalThemeIndication mode = 1;
+}
+
+enum HostTerminalThemeIndication {
+ Dark = 0;
+ Light = 1;
+}
+
message CwdChangedPayload {
PaneId pane_id = 1;
string new_cwd = 2;