diff options
author | Aram Drevekenin <aram@poor.dev> | 2023-02-25 11:16:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-25 11:16:11 +0100 |
commit | 5bcc1bb382659da60f29e4fc79336d3f6a727b57 (patch) | |
tree | e54fed009064e6d10d630c2c80070873f6a1fce6 /zellij-server/src/ui | |
parent | d65e8220b67ed7324bc4d79f265f6519c516e198 (diff) |
fix(layout): various parser and ui fixes (#2191)
* fix(layout): error on nodes outside layout node
* fix(layout): move stacked property to pane
* fix(layout): various stack exceptions
* fix(ui): non-flexible stacked pane titles now take up their full length
* fix(ui): stack titles with no-pane-frames take up their proper length
* style(fmt): rustfmt
Diffstat (limited to 'zellij-server/src/ui')
-rw-r--r-- | zellij-server/src/ui/pane_boundaries_frame.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/zellij-server/src/ui/pane_boundaries_frame.rs b/zellij-server/src/ui/pane_boundaries_frame.rs index 61ec7a4b9..7f8d80171 100644 --- a/zellij-server/src/ui/pane_boundaries_frame.rs +++ b/zellij-server/src/ui/pane_boundaries_frame.rs @@ -343,7 +343,9 @@ impl PaneFrame { self.render_my_and_others_focus(max_length) } else if !self.other_focused_clients.is_empty() { self.render_other_focused_users(max_length) - } else if self.pane_is_stacked_under || self.pane_is_stacked_over { + } else if (self.pane_is_stacked_under || self.pane_is_stacked_over) + && self.exit_status.is_some() + { let (first_part, first_part_len) = self.first_exited_held_title_part_full(); if first_part_len <= max_length { Some((first_part, first_part_len)) |