kovidgoyal / kitty

Cross-platform, fast, feature-rich, GPU based terminal
https://sw.kovidgoyal.net/kitty/
GNU General Public License v3.0
24.41k stars 980 forks source link

[FeatureRequest] Add a confirm config for close window when it has a running process #7434

Closed gutenye closed 5 months ago

gutenye commented 5 months ago

Is your feature request related to a problem? Please describe.

If you have a running process, then close kitty will show a confirmation.

SCR-20240515-izgo

Kitty does not have a config key for this behavior.

Every day, when I close the app, I always have to press the extra Y button

Describe the solution you'd like

I want Kitty to add a new configuration key, like

confirm_running_os_window_close no
kovidgoyal commented 5 months ago

confirm_os_window_close 0

gutenye commented 5 months ago

Thanks. I knew the -1 value for this key, but missed the 0 value.