Skip to content

Commit

Permalink
Update so that moving a floating pane to a split hides other floating
Browse files Browse the repository at this point in the history
panes.  (This matches zellij)
  • Loading branch information
e82eric committed Oct 13, 2024
1 parent c116dea commit b332626
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mux/src/domain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ pub trait Domain: Downcast + Send + Sync {

if let Some(floating_pane) = tab.get_active_floating_pane() {
tab.remove_floating_pane(tab.get_active_floating_pane_index());
tab.set_floating_pane_visibility(false);

//TODO: Figure out if all floating pane stuff should be removed from tab.get_active_pane
if let Some(active_non_floating_pane) = tab.iter_panes_ignoring_zoom()
Expand Down

0 comments on commit b332626

Please sign in to comment.