aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-utils/src/errors.rs
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/errors.rs
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/errors.rs')
-rw-r--r--zellij-utils/src/errors.rs10
1 files changed, 8 insertions, 2 deletions
diff --git a/zellij-utils/src/errors.rs b/zellij-utils/src/errors.rs
index 5bb8e955..484b4dfb 100644
--- a/zellij-utils/src/errors.rs
+++ b/zellij-utils/src/errors.rs
@@ -310,6 +310,12 @@ pub enum ScreenContext {
TerminalBackgroundColor,
TerminalForegroundColor,
TerminalColorRegisters,
+ ForwardHostQuery,
+ ForwardedReplyFromHost,
+ HostTerminalThemeChanged,
+ SetDarkTheme,
+ SetLightTheme,
+ ToggleTheme,
ChangeMode,
ChangeModeForAllClients,
LeftClick,
@@ -553,8 +559,6 @@ pub enum ClientContext {
Log,
LogError,
OwnClientId,
- StartedParsingStdinQuery,
- DoneParsingStdinQuery,
SwitchSession,
SetSynchronisedOutput,
UnblockCliPipeInput,
@@ -564,6 +568,7 @@ pub enum ClientContext {
StartWebServer,
RenamedSession,
ConfigFileUpdated,
+ ForwardQueryToHost,
}
/// Stack call representations corresponding to the different types of [`ServerInstruction`]s.
@@ -599,6 +604,7 @@ pub enum ServerContext {
FailedToStartWebServer,
SendWebClientsForbidden,
ClearMouseHelpText,
+ ForwardQueryToHost,
}
#[derive(Debug, Clone, Copy, PartialEq, Serialize, Deserialize)]