mirror of
https://github.com/wez/wezterm.git
synced 2024-08-17 10:10:23 +03:00
make activate-pane CLI honor unzoom_on_switch_pane
This commit is contained in:
parent
18d643510f
commit
ba25f7df78
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user