1
1
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:
Wez Furlong 2022-01-24 17:52:04 -07:00
parent 403757fc9f
commit 31b09f840a

View File

@ -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 {