mirror of
https://github.com/wez/wezterm.git
synced 2024-11-27 12:23:46 +03:00
wezterm cli: suggest --new-window when no pane id is specified
This commit is contained in:
parent
5f77936152
commit
2695b30376
@ -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()?,
|
||||
|
Loading…
Reference in New Issue
Block a user