Ignore listen_on=none in kitty.conf

This commit is contained in:
Kovid Goyal
2023-08-08 20:58:34 +05:30
parent 12bdc0cc0c
commit b348195d22

View File

@@ -358,6 +358,8 @@ def macos_cmdline(argv_args: List[str]) -> List[str]:
def expand_listen_on(listen_on: str, from_config_file: bool) -> str:
if from_config_file and listen_on == 'none':
return ''
listen_on = expandvars(listen_on)
if '{kitty_pid}' not in listen_on and from_config_file and listen_on.startswith('unix:'):
listen_on += '-{kitty_pid}'