From 00c1802319083c0176fc33d40960aca45f0efd98 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 31 Mar 2022 20:33:58 +0530 Subject: [PATCH] Change the default for confirm_os_window_close Now that the new ssh kitten makes shell integration easy even on remote servers, it makes sense to change the default behavior to ask for confirmation when closing windows not at a shell prompt. --- kitty/options/definition.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/options/definition.py b/kitty/options/definition.py index cccf3306f..d18edf9e8 100644 --- a/kitty/options/definition.py +++ b/kitty/options/definition.py @@ -980,7 +980,7 @@ be a series of unique numbers or alphabets, case insensitive, from the set ''' ) -opt('confirm_os_window_close', '0', +opt('confirm_os_window_close', '-1', option_type='int', long_text=''' Ask for confirmation when closing an OS window or a Tab with at least this