mirror of
https://github.com/wez/wezterm.git
synced 2024-12-24 13:52:55 +03:00
fix: wezterm cli activate-pane-direction now repaints (#3303)
Closes #2879
This commit is contained in:
parent
2b9bf36eb6
commit
da7e29df2d
@ -1,7 +1,7 @@
|
||||
use crate::domain::DomainId;
|
||||
use crate::pane::*;
|
||||
use crate::renderable::StableCursorPosition;
|
||||
use crate::{Mux, WindowId};
|
||||
use crate::{Mux, MuxNotification, WindowId};
|
||||
use bintree::PathBranch;
|
||||
use config::configuration;
|
||||
use config::keyassignment::PaneDirection;
|
||||
@ -1417,6 +1417,10 @@ impl TabInner {
|
||||
if let Some(panel_idx) = self.get_pane_direction(direction, false) {
|
||||
self.set_active_idx(panel_idx);
|
||||
}
|
||||
let mux = Mux::get();
|
||||
if let Some(window_id) = mux.window_containing_tab(self.id) {
|
||||
mux.notify(MuxNotification::WindowInvalidated(window_id));
|
||||
}
|
||||
}
|
||||
|
||||
fn get_pane_direction(&mut self, direction: PaneDirection, ignore_zoom: bool) -> Option<usize> {
|
||||
|
Loading…
Reference in New Issue
Block a user