1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-22 22:42:48 +03:00
wezterm/window
Wez Furlong 448a9fe78a
macos: don't treat command line args as .command scripts
Weird behavior from macos; the command line:

`wezterm start vim hello`

would result in macos requesting `vim` and `hello` be opened
as "documents" which would route each of those to the .command
script handling flow and spawn a window for each; running:

`vim ; exit` in one
`hello ; exit` in another

in addition to the normal handling of that command line.

This commit resolves this by igoring document opening
requests until after the application is fully launched.

I tested this by trying to open a .command script with
this new build and verified that that continued to work.

refs: #3340
2023-03-23 19:21:42 -07:00
..
examples move OpenInBrowser -> KeyAssignment 2022-12-21 07:04:51 -07:00
src macos: don't treat command line args as .command scripts 2023-03-23 19:21:42 -07:00
build.rs macos: handle dead keys without IME 2021-01-31 17:06:30 -08:00
Cargo.toml window: use a shorter timeout for xdg portal reads 2023-02-08 09:19:28 -07:00
LICENSE.md Add missing license files 2022-08-17 07:19:12 -07:00