1
0
Fork 0

Fixed error when including theme. (#290)

This commit is contained in:
Maxime Bouillot 2022-01-02 19:30:46 +01:00 committed by GitHub
parent e3e1fc27cd
commit 4a95df8036
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -348,6 +348,9 @@ func Init() error {
cache.SetTimeout(viper.GetInt("cache.timeout"))
setColor := func(k string, colorStr string) error {
if k == "include" {
return nil
}
colorStr = strings.ToLower(colorStr)
var color tcell.Color
if colorStr == "default" {