Changeset 0.22.8 (#150)

This commit is contained in:
2026-03-04 16:06:12 +00:00
parent 389e47b0f9
commit 7e26a2a261
114 changed files with 3700 additions and 7572 deletions

View File

@@ -42,7 +42,7 @@ type Engine struct {
devMode bool
}
// BannerConfig holds classification banner settings.
// BannerConfig holds environment banner settings.
type BannerConfig struct {
Text string `json:"text"`
Color string `json:"color"`
@@ -243,10 +243,10 @@ func (e *Engine) loadBanner() BannerConfig {
if v, ok := raw["text"].(string); ok {
b.Text = v
}
if v, ok := raw["color"].(string); ok {
if v, ok := raw["fg"].(string); ok {
b.Color = v
}
if v, ok := raw["background"].(string); ok {
if v, ok := raw["bg"].(string); ok {
b.Background = v
}
return b