mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-31 22:07:25 -08:00
parent
3559254292
commit
784b5f1492
|
@ -205,9 +205,15 @@ func (a *AnsiWriter) expandKeyword(keyword string) string {
|
||||||
case ParentForeground:
|
case ParentForeground:
|
||||||
keyword = color.Foreground
|
keyword = color.Foreground
|
||||||
default:
|
default:
|
||||||
|
if len(keyword) == 0 {
|
||||||
|
return Transparent
|
||||||
|
}
|
||||||
return keyword
|
return keyword
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if len(keyword) == 0 {
|
||||||
|
return Transparent
|
||||||
|
}
|
||||||
return keyword
|
return keyword
|
||||||
}
|
}
|
||||||
resolveKeyword := func(keyword string) string {
|
resolveKeyword := func(keyword string) string {
|
||||||
|
|
Loading…
Reference in a new issue