mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-21 02:55:37 -08:00
fix(palette): create AnsiColors on plain block init
This commit is contained in:
parent
9ecd7c09a4
commit
ea35416363
|
@ -54,6 +54,7 @@ func (b *Block) initPlain(env environmentInfo, config *Config) {
|
|||
b.writer = &AnsiWriter{
|
||||
ansi: b.ansi,
|
||||
terminalBackground: getConsoleBackgroundColor(env, config.TerminalBackground),
|
||||
ansiColors: MakeColors(env, config),
|
||||
}
|
||||
b.env = env
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue