mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 04:19:41 -08:00
fix: use reference colors in transient prompt
This commit is contained in:
parent
cb1f48b56a
commit
10d8f5a013
|
@ -242,6 +242,7 @@ func (e *engine) renderTransientPrompt() string {
|
||||||
Env: e.env,
|
Env: e.env,
|
||||||
}
|
}
|
||||||
prompt := template.renderPlainContextTemplate(nil)
|
prompt := template.renderPlainContextTemplate(nil)
|
||||||
|
e.writer.setColors(e.config.TransientPrompt.Background, e.config.TransientPrompt.Foreground)
|
||||||
e.writer.write(e.config.TransientPrompt.Background, e.config.TransientPrompt.Foreground, prompt)
|
e.writer.write(e.config.TransientPrompt.Background, e.config.TransientPrompt.Foreground, prompt)
|
||||||
switch e.env.getShellName() {
|
switch e.env.getShellName() {
|
||||||
case zsh:
|
case zsh:
|
||||||
|
|
Loading…
Reference in a new issue