diff options
| author | Aram Drevekenin <aram@poor.dev> | 2024-12-31 12:37:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-31 12:37:23 +0100 |
| commit | 42adc8cd048c03d52a9f33503d75e24364adbc68 (patch) | |
| tree | 943ee11e188e6512b336b603bdd5ea8eae38998b /zellij-utils/assets/prost/api.plugin_command.rs | |
| parent | docs(changelog): cursor overflow fix (diff) | |
| download | sl0ppij-42adc8cd048c03d52a9f33503d75e24364adbc68.tar.gz sl0ppij-42adc8cd048c03d52a9f33503d75e24364adbc68.tar.xz sl0ppij-42adc8cd048c03d52a9f33503d75e24364adbc68.zip | |
feat(ux): stack panes command (#3905)
* working across tabs and floating panes through the cli
* finalize cli command
* plugin api
* style(fmt): rustfmt
* fix: re-focus pane in stack if it was focused
* style(fmt): rustfmt
* remove outdated comment
Diffstat (limited to 'zellij-utils/assets/prost/api.plugin_command.rs')
| -rw-r--r-- | zellij-utils/assets/prost/api.plugin_command.rs | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/zellij-utils/assets/prost/api.plugin_command.rs b/zellij-utils/assets/prost/api.plugin_command.rs index a023a68f..ac5d2c96 100644 --- a/zellij-utils/assets/prost/api.plugin_command.rs +++ b/zellij-utils/assets/prost/api.plugin_command.rs @@ -5,7 +5,7 @@ pub struct PluginCommand { pub name: i32, #[prost( oneof = "plugin_command::Payload", - tags = "2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90" + tags = "2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91" )] pub payload: ::core::option::Option<plugin_command::Payload>, } @@ -178,10 +178,18 @@ pub mod plugin_command { ChangeHostFolderPayload(super::ChangeHostFolderPayload), #[prost(message, tag = "90")] SetFloatingPanePinnedPayload(super::SetFloatingPanePinnedPayload), + #[prost(message, tag = "91")] + StackPanesPayload(super::StackPanesPayload), } } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] +pub struct StackPanesPayload { + #[prost(message, repeated, tag = "1")] + pub pane_ids: ::prost::alloc::vec::Vec<PaneId>, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] pub struct SetFloatingPanePinnedPayload { #[prost(message, optional, tag = "1")] pub pane_id: ::core::option::Option<PaneId>, @@ -738,6 +746,7 @@ pub enum CommandName { ListClients = 113, ChangeHostFolder = 114, SetFloatingPanePinned = 115, + StackPanes = 116, } impl CommandName { /// String value of the enum field names used in the ProtoBuf definition. @@ -864,6 +873,7 @@ impl CommandName { CommandName::ListClients => "ListClients", CommandName::ChangeHostFolder => "ChangeHostFolder", CommandName::SetFloatingPanePinned => "SetFloatingPanePinned", + CommandName::StackPanes => "StackPanes", } } /// Creates an enum from field names used in the ProtoBuf definition. @@ -987,6 +997,7 @@ impl CommandName { "ListClients" => Some(Self::ListClients), "ChangeHostFolder" => Some(Self::ChangeHostFolder), "SetFloatingPanePinned" => Some(Self::SetFloatingPanePinned), + "StackPanes" => Some(Self::StackPanes), _ => None, } } |
