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 | |
| 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
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | zellij-utils/src/input/layout.rs | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index d7fc1a20..9e250885 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) * fix: meta key handling in web client (https://github.com/zellij-org/zellij/pull/4376) * refactor: move logical structures from client to server (https://github.com/zellij-org/zellij/pull/4383) * fix: make sessions compatible across versions (https://github.com/zellij-org/zellij/pull/4439) +* fix: occasional status-bar pop-out after resurrecting a session (https://github.com/zellij-org/zellij/pull/4440) ## [0.43.1] - 2025-08-08 * fix: pane rename backspace regression (https://github.com/zellij-org/zellij/pull/4346) 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() { |
