mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07:00
Add WebGL acceleration and link handling to terminal (#205)
This PR adds back WebGL acceleration (enabled by default) for XTerm. It also adds back link handling and adds a new option (disabled by default) to open all links internally as a new web block. --------- Co-authored-by: sawka <mike.sawka@gmail.com>
This commit is contained in:
@@ -25,8 +25,13 @@ type WidgetsConfigType struct {
|
||||
}
|
||||
|
||||
type TerminalConfigType struct {
|
||||
FontSize int `json:"fontsize,omitempty"`
|
||||
FontFamily string `json:"fontfamily,omitempty"`
|
||||
FontSize int `json:"fontsize,omitempty"`
|
||||
FontFamily string `json:"fontfamily,omitempty"`
|
||||
DisableWebGl bool `json:"disablewebgl"`
|
||||
}
|
||||
|
||||
type WebConfigType struct {
|
||||
OpenLinksInternally bool `json:"openlinksinternally"`
|
||||
}
|
||||
|
||||
type AiConfigType struct {
|
||||
@@ -99,6 +104,7 @@ type SettingsConfigType struct {
|
||||
AutoUpdate *AutoUpdateOpts `json:"autoupdate"`
|
||||
TermThemes TermThemesConfigType `json:"termthemes"`
|
||||
WindowSettings WindowSettingsType `json:"window"`
|
||||
Web WebConfigType `json:"web"`
|
||||
|
||||
DefaultMeta *waveobj.MetaMapType `json:"defaultmeta,omitempty"`
|
||||
Presets map[string]*waveobj.MetaMapType `json:"presets,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user