mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-25 17:52:02 +02:00
when parsing conf files in go accept both space and tab as key separators
This commit is contained in:
@@ -476,7 +476,6 @@ func ParseThemeMetadata(path string) (*ThemeMetadata, map[string]string, error)
|
||||
read_is_dark := func(key, val string) (err error) {
|
||||
settings[key] = val
|
||||
if key == "background" {
|
||||
val = strings.TrimSpace(val)
|
||||
if val != "" {
|
||||
bg, err := style.ParseColor(val)
|
||||
if err == nil {
|
||||
|
||||
Reference in New Issue
Block a user