diff options
| author | DawidPietrykowski <53954695+DawidPietrykowski@users.noreply.github.com> | 2026-06-25 18:12:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-25 18:12:51 +0200 |
| commit | ebd731b0ff12737a6e2160a255280534ef3991bd (patch) | |
| tree | 4313963a269205391aa519fd090ea1de2b7cc4af /zellij-utils/assets/prost/api.action.rs | |
| parent | tests: add more integration tests (#5308) (diff) | |
| download | sl0ppij-ebd731b0ff12737a6e2160a255280534ef3991bd.tar.gz sl0ppij-ebd731b0ff12737a6e2160a255280534ef3991bd.tar.xz sl0ppij-ebd731b0ff12737a6e2160a255280534ef3991bd.zip | |
feat(panes): `FocusLastPane` action (#4241)
* feat(panes): focus last pane (#4142)
* add tests
* add client id parameter to `add_floating_pane`
* add action for floating panes
* add tests for floating panes
* add keybinds to configs
* rebase fixes
* simplify focus logic when adding stacked pane
* formatting fix
* formatting fix 2
* fix: make sure expanding pane always focuses it for all clients in stack
* add pr
* fix rebase
---------
Co-authored-by: Aram Drevekenin <aram@poor.dev>
Diffstat (limited to '')
| -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 8d331b60..31325096 100644 --- a/zellij-utils/assets/prost/api.action.rs +++ b/zellij-utils/assets/prost/api.action.rs @@ -1124,6 +1124,7 @@ pub enum ActionName { SetDarkTheme = 101, SetLightTheme = 102, ToggleTheme = 103, + FocusLastPane = 104, } impl ActionName { /// String value of the enum field names used in the ProtoBuf definition. @@ -1233,6 +1234,7 @@ impl ActionName { ActionName::SetDarkTheme => "SetDarkTheme", ActionName::SetLightTheme => "SetLightTheme", ActionName::ToggleTheme => "ToggleTheme", + ActionName::FocusLastPane => "FocusLastPane", } } /// Creates an enum from field names used in the ProtoBuf definition. @@ -1339,6 +1341,7 @@ impl ActionName { "SetDarkTheme" => Some(Self::SetDarkTheme), "SetLightTheme" => Some(Self::SetLightTheme), "ToggleTheme" => Some(Self::ToggleTheme), + "FocusLastPane" => Some(Self::FocusLastPane), _ => None, } } |
