mirror of
https://github.com/wez/wezterm.git
synced 2024-12-25 14:22:37 +03:00
spawn local
domain when starting gui in mux mode
This allows explicitly spawning commands locally, rather than
in the target mux.
this is similar to 12225a099a
refs: https://github.com/wez/wezterm/issues/468
This commit is contained in:
parent
fe48951e7a
commit
4112b74f8a
@ -219,6 +219,9 @@ fn run_mux_client(config: config::ConfigHandle, opts: &ConnectCommand) -> anyhow
|
||||
let mux = Rc::new(mux::Mux::new(Some(domain.clone())));
|
||||
Mux::set_mux(&mux);
|
||||
crate::update::load_last_release_info_and_set_banner();
|
||||
// Allow spawning local commands into new tabs/panes
|
||||
let local_domain: Arc<dyn Domain> = Arc::new(LocalDomain::new("local")?);
|
||||
mux.add_domain(&local_domain);
|
||||
|
||||
let gui = crate::frontend::try_new()?;
|
||||
let opts = opts.clone();
|
||||
|
Loading…
Reference in New Issue
Block a user