MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / getTabBackground

Function getTabBackground

pkg/wcore/workspace.go:190–196  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

188}
189
190func getTabBackground() string {
191 config := wconfig.GetWatcher().GetFullConfig()
192 if config.Settings.TabBackground != "" {
193 return config.Settings.TabBackground
194 }
195 return config.Settings.TabPreset
196}
197
198var tabNameRe = regexp.MustCompile(`^T(\d+)$`)
199

Callers 1

CreateTabFunction · 0.85

Calls 2

GetWatcherFunction · 0.92
GetFullConfigMethod · 0.80

Tested by

no test coverage detected