aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-utils/src/errors.rs
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/errors.rs
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/errors.rs')
-rw-r--r--zellij-utils/src/errors.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/zellij-utils/src/errors.rs b/zellij-utils/src/errors.rs
index 94417e00..21b9294e 100644
--- a/zellij-utils/src/errors.rs
+++ b/zellij-utils/src/errors.rs
@@ -411,6 +411,7 @@ pub enum PluginContext {
DumpLayoutToPlugin,
ListClientsMetadata,
Reconfigure,
+ FailedToWriteConfigToDisk,
}
/// Stack call representations corresponding to the different types of [`ClientInstruction`]s.
@@ -434,6 +435,7 @@ pub enum ClientContext {
UnblockCliPipeInput,
CliPipeOutput,
QueryTerminalSize,
+ WriteConfigToDisk,
}
/// Stack call representations corresponding to the different types of [`ServerInstruction`]s.
@@ -460,6 +462,8 @@ pub enum ServerContext {
ChangeMode,
ChangeModeForAllClients,
Reconfigure,
+ ConfigWrittenToDisk,
+ FailedToWriteConfigToDisk,
}
#[derive(Debug, Clone, Copy, PartialEq, Serialize, Deserialize)]