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:
Evan Simkowitz
2024-08-07 14:27:16 -07:00
committed by GitHub
co-authored by sawka
parent 3c8bac6bf9
commit 7b87b7d7b9
9 changed files with 110 additions and 10 deletions
+8 -2
View File
@@ -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"`