mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +01:00
tab:preset setting
This commit is contained in:
parent
cf9d24a834
commit
d694249b7f
1
frontend/types/gotypes.d.ts
vendored
1
frontend/types/gotypes.d.ts
vendored
@ -638,6 +638,7 @@ declare global {
|
|||||||
"autoupdate:installonquit"?: boolean;
|
"autoupdate:installonquit"?: boolean;
|
||||||
"autoupdate:channel"?: string;
|
"autoupdate:channel"?: string;
|
||||||
"preview:showhiddenfiles"?: boolean;
|
"preview:showhiddenfiles"?: boolean;
|
||||||
|
"tab:preset"?: string;
|
||||||
"widget:*"?: boolean;
|
"widget:*"?: boolean;
|
||||||
"widget:showhelp"?: boolean;
|
"widget:showhelp"?: boolean;
|
||||||
"window:*"?: boolean;
|
"window:*"?: boolean;
|
||||||
|
@ -48,6 +48,8 @@ const (
|
|||||||
|
|
||||||
ConfigKey_PreviewShowHiddenFiles = "preview:showhiddenfiles"
|
ConfigKey_PreviewShowHiddenFiles = "preview:showhiddenfiles"
|
||||||
|
|
||||||
|
ConfigKey_TabPreset = "tab:preset"
|
||||||
|
|
||||||
ConfigKey_WidgetClear = "widget:*"
|
ConfigKey_WidgetClear = "widget:*"
|
||||||
ConfigKey_WidgetShowHelp = "widget:showhelp"
|
ConfigKey_WidgetShowHelp = "widget:showhelp"
|
||||||
|
|
||||||
|
@ -75,6 +75,8 @@ type SettingsType struct {
|
|||||||
|
|
||||||
PreviewShowHiddenFiles *bool `json:"preview:showhiddenfiles,omitempty"`
|
PreviewShowHiddenFiles *bool `json:"preview:showhiddenfiles,omitempty"`
|
||||||
|
|
||||||
|
TabPreset string `json:"tab:preset,omitempty"`
|
||||||
|
|
||||||
WidgetClear bool `json:"widget:*,omitempty"`
|
WidgetClear bool `json:"widget:*,omitempty"`
|
||||||
WidgetShowHelp *bool `json:"widget:showhelp,omitempty"`
|
WidgetShowHelp *bool `json:"widget:showhelp,omitempty"`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user