diff options
| author | Aram Drevekenin <aram@poor.dev> | 2025-09-24 18:25:01 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-24 18:25:01 +0200 |
| commit | 51ecdfeebb6986ab7f9fa1ad86bdbda57b77ea5c (patch) | |
| tree | 1a7c63dc938b7c9884a4bda3875300f0d59fcc25 /zellij-utils/src/input | |
| parent | fix(ipc): make sessions compatible between versions (#4439) (diff) | |
| download | sl0ppij-51ecdfeebb6986ab7f9fa1ad86bdbda57b77ea5c.tar.gz sl0ppij-51ecdfeebb6986ab7f9fa1ad86bdbda57b77ea5c.tar.xz sl0ppij-51ecdfeebb6986ab7f9fa1ad86bdbda57b77ea5c.zip | |
fix(resurrection): occasional status-bar pop-out after resurrection (#4440)
* fix(resurrection): occasional status-bar pop-out after resurrection
* add pr
Diffstat (limited to 'zellij-utils/src/input')
| -rw-r--r-- | zellij-utils/src/input/layout.rs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/zellij-utils/src/input/layout.rs b/zellij-utils/src/input/layout.rs index ac0f54b9..de555a00 100644 --- a/zellij-utils/src/input/layout.rs +++ b/zellij-utils/src/input/layout.rs @@ -1656,6 +1656,21 @@ impl Layout { .map(|f| f.populate_run_plugin_if_needed(&plugin_aliases)); } } + for swap_tiled_layout in &mut self.swap_tiled_layouts { + for (_constraint, tiled_pane_layout) in &mut swap_tiled_layout.0 { + tiled_pane_layout.populate_plugin_aliases_in_layout(plugin_aliases); + } + } + for swap_floating_layout in &mut self.swap_floating_layouts { + for (_constraint, floating_pane_layouts) in &mut swap_floating_layout.0 { + for floating_pane_layout in floating_pane_layouts { + floating_pane_layout + .run + .as_mut() + .map(|f| f.populate_run_plugin_if_needed(plugin_aliases)); + } + } + } } pub fn add_cwd_to_layout(&mut self, cwd: &PathBuf) { for (_, tiled_pane_layout, floating_panes) in self.tabs.iter_mut() { |
