docs: clarify how to disable per-tab close prompts

https://github.com/wez/wezterm/issues/562
This commit is contained in:
Wez Furlong committed 2021-03-22 11:51:56 -07:00
1 parent b27e4ce2b2
commit 7ace4d1efb
1 file changed
+9
@@ -1,5 +1,9 @@
# `window_close_confirmation`
Whether to display a confirmation prompt when the window is closed by the
windowing environment, either because the user closed it with the window
decorations, or instructed their window managed to close it.
Set this to `"NeverPrompt"` if you don't like confirming closing
windows every time.
@@ -8,3 +12,8 @@ return {
window_close_confirmation = "AlwaysPrompt",
}
```
Note that this doesn't apply to the default `CTRL-SHIFT-W` or `CMD-w`
key assignments; if you want to change prompts for those, you will need to
override the key shortcut as shown in the
[CloseCurrentTab](../keyassignment/CloseCurrentTab.md) documentation.