aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-utils/src/errors.rs
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2024-03-26 18:44:56 +0100
committerGitHub <noreply@github.com>2024-03-26 18:44:56 +0100
commit2eaa50cc44284bdfd47a98770625f380c15fd51d (patch)
treee86909cdfce996d08442c5152fa4bacdbf203745 /zellij-utils/src/errors.rs
parentdocs(changelog): ui fixes (diff)
downloadsl0ppij-2eaa50cc44284bdfd47a98770625f380c15fd51d.tar.gz
sl0ppij-2eaa50cc44284bdfd47a98770625f380c15fd51d.tar.xz
sl0ppij-2eaa50cc44284bdfd47a98770625f380c15fd51d.zip
feat(plugins): add api to dump the current session layout to a plugin (#3227)
Diffstat (limited to 'zellij-utils/src/errors.rs')
-rw-r--r--zellij-utils/src/errors.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/zellij-utils/src/errors.rs b/zellij-utils/src/errors.rs
index d05df3a2..51174b75 100644
--- a/zellij-utils/src/errors.rs
+++ b/zellij-utils/src/errors.rs
@@ -351,6 +351,7 @@ pub enum ScreenContext {
NewInPlacePluginPane,
DumpLayoutToHd,
RenameSession,
+ DumpLayoutToPlugin,
}
/// Stack call representations corresponding to the different types of [`PtyInstruction`]s.
@@ -371,6 +372,7 @@ pub enum PtyContext {
DumpLayout,
LogLayoutToHd,
FillPluginCwd,
+ DumpLayoutToPlugin,
Exit,
}
@@ -402,6 +404,7 @@ pub enum PluginContext {
UnblockCliPipes,
WatchFilesystem,
KeybindPipe,
+ DumpLayoutToPlugin,
}
/// Stack call representations corresponding to the different types of [`ClientInstruction`]s.