Fix reloading in all kitties skipping kitty processes started as kitty +open

This commit is contained in:
Kovid Goyal 2022-06-04 14:53:13 +05:30
parent b1453a51f6
commit 3c952b01d3
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -906,8 +906,15 @@ def is_kitty_gui_cmdline(*cmd: str) -> bool:
return False return False
if len(cmd) == 1: if len(cmd) == 1:
return True return True
if '+' in cmd or '@' in cmd or cmd[1].startswith('+') or cmd[1].startswith('@'): s = cmd[1][:1]
if s == '@':
return False return False
if s == '+':
if cmd[1] == '+':
if len(cmd) > 2 and cmd[2] == 'open':
return True
return False
return cmd[1] == '+open'
return True return True