mirror of
https://github.com/wez/wezterm.git
synced 2024-11-26 08:25:50 +03:00
fix panic in wezterm cli
refs: https://github.com/wez/wezterm/issues/1588
This commit is contained in:
parent
403757fc9f
commit
31b09f840a
@ -659,7 +659,7 @@ async fn run_cli_async(config: config::ConfigHandle, cli: CliCommand) -> anyhow:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
let workspace = workspace.unwrap_or_else(|| Mux::get().unwrap().active_workspace());
|
let workspace = workspace.unwrap_or_else(|| mux::DEFAULT_WORKSPACE.to_string());
|
||||||
|
|
||||||
let spawned = client
|
let spawned = client
|
||||||
.spawn_v2(codec::SpawnV2 {
|
.spawn_v2(codec::SpawnV2 {
|
||||||
|
Loading…
Reference in New Issue
Block a user