make activate-pane CLI honor unzoom_on_switch_pane
This commit is contained in:
1 parent
18d643510f
commit
ba25f7df78
1 file changed
+7
@@ -1748,6 +1748,13 @@ impl TabInner {
|
||||
}
|
||||
|
||||
fn set_active_pane(&mut self, pane: &Arc<dyn Pane>) {
|
||||
if self.zoomed.is_some() {
|
||||
if !configuration().unzoom_on_switch_pane {
|
||||
return;
|
||||
}
|
||||
self.toggle_zoom();
|
||||
}
|
||||
|
||||
if let Some(item) = self
|
||||
.iter_panes_ignoring_zoom()
|
||||
.iter()
|
||||
|
||||
Reference in new issue
Block a user