mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 20:39:40 -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