waveterm/pkg/wconfig
Evan Simkowitz 62dcf1326d
Allow users to close windows without confirming, delete last window (#1598)
Adds `window:savelastwindow` and `window:confirmclose` settings, which
can be used to alter the default window close behavior. Both of these
default to `true` to maintain the existing default behavior.

If `window:savelastwindow` is unset, the same logic will be used as if
the user had more than one window remaining (see below).

If `window:confirmonclose` is unset, the user will no longer be prompted
to confirm if they are closing a window whose workspace has unsaved
changes (the workspace is not named and it has more than one tab).
2024-12-20 14:02:08 -08:00
..
defaultconfig Allow users to close windows without confirming, delete last window (#1598) 2024-12-20 14:02:08 -08:00
filewatcher.go panic handlers everywhere (#1327) 2024-11-20 18:05:13 -08:00
metaconsts.go Allow users to close windows without confirming, delete last window (#1598) 2024-12-20 14:02:08 -08:00
settingsconfig.go Allow users to close windows without confirming, delete last window (#1598) 2024-12-20 14:02:08 -08:00