mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +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).
93 lines
4.4 KiB
Go
93 lines
4.4 KiB
Go
// Copyright 2024, Command Line Inc.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
// Generated Code. DO NOT EDIT.
|
|
|
|
package wconfig
|
|
|
|
const (
|
|
ConfigKey_AppClear = "app:*"
|
|
ConfigKey_AppGlobalHotkey = "app:globalhotkey"
|
|
ConfigKey_AppDismissArchitectureWarning = "app:dismissarchitecturewarning"
|
|
|
|
ConfigKey_AiClear = "ai:*"
|
|
ConfigKey_AiPreset = "ai:preset"
|
|
ConfigKey_AiApiType = "ai:apitype"
|
|
ConfigKey_AiBaseURL = "ai:baseurl"
|
|
ConfigKey_AiApiToken = "ai:apitoken"
|
|
ConfigKey_AiName = "ai:name"
|
|
ConfigKey_AiModel = "ai:model"
|
|
ConfigKey_AiOrgID = "ai:orgid"
|
|
ConfigKey_AIApiVersion = "ai:apiversion"
|
|
ConfigKey_AiMaxTokens = "ai:maxtokens"
|
|
ConfigKey_AiTimeoutMs = "ai:timeoutms"
|
|
ConfigKey_AiFontSize = "ai:fontsize"
|
|
ConfigKey_AiFixedFontSize = "ai:fixedfontsize"
|
|
|
|
ConfigKey_TermClear = "term:*"
|
|
ConfigKey_TermFontSize = "term:fontsize"
|
|
ConfigKey_TermFontFamily = "term:fontfamily"
|
|
ConfigKey_TermTheme = "term:theme"
|
|
ConfigKey_TermDisableWebGl = "term:disablewebgl"
|
|
ConfigKey_TermLocalShellPath = "term:localshellpath"
|
|
ConfigKey_TermLocalShellOpts = "term:localshellopts"
|
|
ConfigKey_TermScrollback = "term:scrollback"
|
|
ConfigKey_TermCopyOnSelect = "term:copyonselect"
|
|
ConfigKey_TermTransparency = "term:transparency"
|
|
|
|
ConfigKey_EditorMinimapEnabled = "editor:minimapenabled"
|
|
ConfigKey_EditorStickyScrollEnabled = "editor:stickyscrollenabled"
|
|
ConfigKey_EditorWordWrap = "editor:wordwrap"
|
|
ConfigKey_EditorFontSize = "editor:fontsize"
|
|
|
|
ConfigKey_WebClear = "web:*"
|
|
ConfigKey_WebOpenLinksInternally = "web:openlinksinternally"
|
|
ConfigKey_WebDefaultUrl = "web:defaulturl"
|
|
ConfigKey_WebDefaultSearch = "web:defaultsearch"
|
|
|
|
ConfigKey_BlockHeaderClear = "blockheader:*"
|
|
ConfigKey_BlockHeaderShowBlockIds = "blockheader:showblockids"
|
|
|
|
ConfigKey_AutoUpdateClear = "autoupdate:*"
|
|
ConfigKey_AutoUpdateEnabled = "autoupdate:enabled"
|
|
ConfigKey_AutoUpdateIntervalMs = "autoupdate:intervalms"
|
|
ConfigKey_AutoUpdateInstallOnQuit = "autoupdate:installonquit"
|
|
ConfigKey_AutoUpdateChannel = "autoupdate:channel"
|
|
|
|
ConfigKey_MarkdownFontSize = "markdown:fontsize"
|
|
ConfigKey_MarkdownFixedFontSize = "markdown:fixedfontsize"
|
|
|
|
ConfigKey_PreviewShowHiddenFiles = "preview:showhiddenfiles"
|
|
|
|
ConfigKey_TabPreset = "tab:preset"
|
|
|
|
ConfigKey_WidgetClear = "widget:*"
|
|
ConfigKey_WidgetShowHelp = "widget:showhelp"
|
|
|
|
ConfigKey_WindowClear = "window:*"
|
|
ConfigKey_WindowTransparent = "window:transparent"
|
|
ConfigKey_WindowBlur = "window:blur"
|
|
ConfigKey_WindowOpacity = "window:opacity"
|
|
ConfigKey_WindowBgColor = "window:bgcolor"
|
|
ConfigKey_WindowReducedMotion = "window:reducedmotion"
|
|
ConfigKey_WindowTileGapSize = "window:tilegapsize"
|
|
ConfigKey_WindowShowMenuBar = "window:showmenubar"
|
|
ConfigKey_WindowNativeTitleBar = "window:nativetitlebar"
|
|
ConfigKey_WindowDisableHardwareAcceleration = "window:disablehardwareacceleration"
|
|
ConfigKey_WindowMaxTabCacheSize = "window:maxtabcachesize"
|
|
ConfigKey_WindowMagnifiedBlockOpacity = "window:magnifiedblockopacity"
|
|
ConfigKey_WindowMagnifiedBlockSize = "window:magnifiedblocksize"
|
|
ConfigKey_WindowMagnifiedBlockBlurPrimaryPx = "window:magnifiedblockblurprimarypx"
|
|
ConfigKey_WindowMagnifiedBlockBlurSecondaryPx = "window:magnifiedblockblursecondarypx"
|
|
ConfigKey_WindowConfirmClose = "window:confirmclose"
|
|
ConfigKey_WindowSaveLastWindow = "window:savelastwindow"
|
|
|
|
ConfigKey_TelemetryClear = "telemetry:*"
|
|
ConfigKey_TelemetryEnabled = "telemetry:enabled"
|
|
|
|
ConfigKey_ConnClear = "conn:*"
|
|
ConfigKey_ConnAskBeforeWshInstall = "conn:askbeforewshinstall"
|
|
ConfigKey_ConnWshEnabled = "conn:wshenabled"
|
|
)
|
|
|