1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-23 15:04:36 +03:00

wezterm cli: suggest --new-window when no pane id is specified

This commit is contained in:
Wez Furlong 2022-01-07 17:21:17 -07:00
parent 5f77936152
commit 2695b30376

View File

@ -517,8 +517,9 @@ async fn run_cli_async(config: config::ConfigHandle, cli: CliCommand) -> anyhow:
None => std::env::var("WEZTERM_PANE")
.map_err(|_| {
anyhow!(
"--pane-id was not specified and $WEZTERM_PANE
is not set in the environment"
"--pane-id was not specified and $WEZTERM_PANE \
is not set in the environment. \
Consider using --new-window?"
)
})?
.parse()?,