Merge branch 'docs-confirm-os-win-close' of https://github.com/page-down/kitty

This commit is contained in:
Kovid Goyal
2021-11-06 09:38:40 +05:30

View File

@@ -891,13 +891,15 @@ does not currently work on Wayland.
opt('confirm_os_window_close', '0', opt('confirm_os_window_close', '0',
option_type='int', option_type='int',
long_text=''' long_text='''
Ask for confirmation when closing an OS window or a tab that has at least this Ask for confirmation when closing an OS window or a Tab with at least this
number of kitty windows in it. A value of zero disables confirmation. This number of kitty windows in it by window manager (e.g. clicking the window
confirmation also applies to requests to quit the entire application (all OS close button or pressing the shortcut alt+f4, shift+cmd+w) or by the
windows, via the quit action). Negative values are converted to positive ones, :sc:`close_tab` action. A value of zero disables confirmation. This confirmation
however, with :ref:`shell_integration` enabled, using negative values means also applies to requests to quit the entire application (all OS windows, via the
windows sitting at a shell prompt are not counted, only windows where some command is quit action). Negative values are converted to positive ones, however, with
currently running. :ref:`shell_integration` enabled, using negative values means windows sitting at
a shell prompt are not counted, only windows where some command is currently
running.
''' '''
) )
egr() # }}} egr() # }}}