aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-utils/assets/prost/api.action.rs
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2024-12-16 16:03:20 +0100
committerGitHub <noreply@github.com>2024-12-16 16:03:20 +0100
commitdd291e2a1f9b4ee3eb1a947e1501a54b10663ea7 (patch)
tree0ae41e8175d2a3fd260b3c510a30502f6386ac7f /zellij-utils/assets/prost/api.action.rs
parentdocs(changelog): multiplayer cursor fix (diff)
downloadsl0ppij-dd291e2a1f9b4ee3eb1a947e1501a54b10663ea7.tar.gz
sl0ppij-dd291e2a1f9b4ee3eb1a947e1501a54b10663ea7.tar.xz
sl0ppij-dd291e2a1f9b4ee3eb1a947e1501a54b10663ea7.zip
feat(ux): pin floating panes (#3876)
* working * ui indication * add keybinding * add to plugin panes * fix with multiple cursors * toggle with the mouse * fix e2e tests and add new one * some cleanups * add to layouts * make mouse click more lenient * allow setting a new floating pane as pinned * make toggle work throughthe command line * add to plugin api * get tests to pass * style(fmt): rustfmt
Diffstat (limited to 'zellij-utils/assets/prost/api.action.rs')
-rw-r--r--zellij-utils/assets/prost/api.action.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/zellij-utils/assets/prost/api.action.rs b/zellij-utils/assets/prost/api.action.rs
index 651f59eb..87ca37dd 100644
--- a/zellij-utils/assets/prost/api.action.rs
+++ b/zellij-utils/assets/prost/api.action.rs
@@ -455,6 +455,7 @@ pub enum ActionName {
CliPipe = 82,
MoveTab = 83,
KeybindPipe = 84,
+ TogglePanePinned = 85,
}
impl ActionName {
/// String value of the enum field names used in the ProtoBuf definition.
@@ -548,6 +549,7 @@ impl ActionName {
ActionName::CliPipe => "CliPipe",
ActionName::MoveTab => "MoveTab",
ActionName::KeybindPipe => "KeybindPipe",
+ ActionName::TogglePanePinned => "TogglePanePinned",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
@@ -638,6 +640,7 @@ impl ActionName {
"CliPipe" => Some(Self::CliPipe),
"MoveTab" => Some(Self::MoveTab),
"KeybindPipe" => Some(Self::KeybindPipe),
+ "TogglePanePinned" => Some(Self::TogglePanePinned),
_ => None,
}
}