diff options
| author | Aram Drevekenin <aram@poor.dev> | 2024-03-26 18:44:56 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-26 18:44:56 +0100 |
| commit | 2eaa50cc44284bdfd47a98770625f380c15fd51d (patch) | |
| tree | e86909cdfce996d08442c5152fa4bacdbf203745 /zellij-utils/assets/prost/api.plugin_command.rs | |
| parent | docs(changelog): ui fixes (diff) | |
| download | sl0ppij-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/assets/prost/api.plugin_command.rs')
| -rw-r--r-- | zellij-utils/assets/prost/api.plugin_command.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zellij-utils/assets/prost/api.plugin_command.rs b/zellij-utils/assets/prost/api.plugin_command.rs index 5ec93e2e..ca067fd9 100644 --- a/zellij-utils/assets/prost/api.plugin_command.rs +++ b/zellij-utils/assets/prost/api.plugin_command.rs @@ -420,6 +420,7 @@ pub enum CommandName { KillSessions = 81, ScanHostFolder = 82, WatchFilesystem = 83, + DumpSessionLayout = 84, } impl CommandName { /// String value of the enum field names used in the ProtoBuf definition. @@ -512,6 +513,7 @@ impl CommandName { CommandName::KillSessions => "KillSessions", CommandName::ScanHostFolder => "ScanHostFolder", CommandName::WatchFilesystem => "WatchFilesystem", + CommandName::DumpSessionLayout => "DumpSessionLayout", } } /// Creates an enum from field names used in the ProtoBuf definition. @@ -601,6 +603,7 @@ impl CommandName { "KillSessions" => Some(Self::KillSessions), "ScanHostFolder" => Some(Self::ScanHostFolder), "WatchFilesystem" => Some(Self::WatchFilesystem), + "DumpSessionLayout" => Some(Self::DumpSessionLayout), _ => None, } } |
