mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-24 22:28:29 +00:00
macOS: The command line args from macos-launch-services-cmdline are now prefixed to any args from open --args rather than overwriting them
The purpose of the file is to provide default command line args when launching from GUI. Since macOS nowadays also allows command line args when launch via open, also respect them. Fixes #7135
This commit is contained in:
parent
b2391553f9
commit
be92cc87a4
2 changed files with 4 additions and 1 deletions
|
|
@ -50,6 +50,9 @@ Detailed list of changes
|
|||
generating spurious release events even when report all keys as escape codes
|
||||
is not set (:iss:`7136`)
|
||||
|
||||
- macOS: The command line args from :file:`macos-launch-services-cmdline` are now
|
||||
prefixed to any args from ``open --args`` rather than overwriting them (:iss:`7135`)
|
||||
|
||||
|
||||
0.32.2 [2024-02-12]
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
|
|
|||
|
|
@ -363,7 +363,7 @@ def macos_cmdline(argv_args: List[str]) -> List[str]:
|
|||
ans = list(shlex_split(raw))
|
||||
if ans and ans[0] == 'kitty':
|
||||
del ans[0]
|
||||
return ans
|
||||
return ans + argv_args
|
||||
|
||||
|
||||
def expand_listen_on(listen_on: str, from_config_file: bool) -> str:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue