diff --git a/wezterm/src/main.rs b/wezterm/src/main.rs index cb13e01e4..f3127ccb6 100644 --- a/wezterm/src/main.rs +++ b/wezterm/src/main.rs @@ -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 .spawn_v2(codec::SpawnV2 {