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