From 93558f75f27c0c4625a6f7d96aeef05d43e690c6 Mon Sep 17 00:00:00 2001 From: pagedown Date: Sat, 6 Nov 2021 09:54:23 +0800 Subject: [PATCH] Docs: Explicitly clarify the scope of confirm_os_window_close in effect --- kitty/options/definition.py | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/kitty/options/definition.py b/kitty/options/definition.py index 542ea4550..a965200e0 100644 --- a/kitty/options/definition.py +++ b/kitty/options/definition.py @@ -891,13 +891,15 @@ does not currently work on Wayland. opt('confirm_os_window_close', '0', option_type='int', long_text=''' -Ask for confirmation when closing an OS window or a tab that has at least this -number of kitty windows in it. A value of zero disables confirmation. This -confirmation also applies to requests to quit the entire application (all OS -windows, via the quit action). Negative values are converted to positive ones, -however, with :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. +Ask for confirmation when closing an os window or a tab with at least this +number of kitty windows in it by window manager (e.g. clicking the window +close button or pressing the shortcut alt+f4, shift+cmd+w) or by the +:sc:`close_tab` action. A value of zero disables confirmation. This confirmation +also applies to requests to quit the entire application (all OS windows, via the +quit action). Negative values are converted to positive ones, however, with +: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() # }}}