mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-07 19:28:44 +01:00
62dcf1326d
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).
26 lines
860 B
JSON
26 lines
860 B
JSON
{
|
|
"ai:preset": "ai@global",
|
|
"ai:model": "gpt-4o-mini",
|
|
"ai:maxtokens": 2048,
|
|
"ai:timeoutms": 60000,
|
|
"autoupdate:enabled": true,
|
|
"autoupdate:installonquit": true,
|
|
"autoupdate:intervalms": 3600000,
|
|
"conn:askbeforewshinstall": true,
|
|
"conn:wshenabled": true,
|
|
"editor:minimapenabled": true,
|
|
"web:defaulturl": "https://github.com/wavetermdev/waveterm",
|
|
"web:defaultsearch": "https://www.google.com/search?q={query}",
|
|
"window:tilegapsize": 3,
|
|
"window:maxtabcachesize": 10,
|
|
"window:nativetitlebar": true,
|
|
"window:magnifiedblockopacity": 0.6,
|
|
"window:magnifiedblocksize": 0.9,
|
|
"window:magnifiedblockblurprimarypx": 10,
|
|
"window:magnifiedblockblursecondarypx": 2,
|
|
"window:confirmclose": true,
|
|
"window:savelastwindow": true,
|
|
"telemetry:enabled": true,
|
|
"term:copyonselect": true
|
|
}
|