Add a command line option to make --single-instance wait for the closing of the newly opened window before quitting. Fixes #630

This commit is contained in:
Kovid Goyal
2018-06-12 20:53:25 +05:30
parent 561fe81d00
commit ba7f0132f2
4 changed files with 95 additions and 39 deletions

View File

@@ -91,6 +91,14 @@ with the same :option:`kitty --instance-group` will result in new windows being
in the first :italic:`{appname}` instance within that group
--wait-for-single-instance-window-close
type=bool-set
Normally, when using :option:`--single-instance`, :talic:`{appname}` will open a new window in an existing
instance and quit immediately. With this option, it will not quit till the newly opened
window is closed. Note that if no previous instance is found, then :italic:`{appname}` will wait anyway,
regardless of this option.
--listen-on
Tell kitty to listen on the specified address for control
messages. For example, :option:`{appname} --listen-on`=unix:/tmp/mykitty or