diff options
| author | Aram Drevekenin <aram@poor.dev> | 2024-12-16 16:03:20 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-16 16:03:20 +0100 |
| commit | dd291e2a1f9b4ee3eb1a947e1501a54b10663ea7 (patch) | |
| tree | 0ae41e8175d2a3fd260b3c510a30502f6386ac7f /zellij-utils/assets/prost/api.action.rs | |
| parent | docs(changelog): multiplayer cursor fix (diff) | |
| download | sl0ppij-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.rs | 3 |
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, } } |
