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.
This commit is contained in:
Kovid Goyal 2022-03-31 20:33:58 +05:30
parent 02c2d24360
commit 00c1802319
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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