mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-27 11:59:40 -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,
|
||||
}
|
||||
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)
|
||||
switch e.env.getShellName() {
|
||||
case zsh:
|
||||
|
|
Loading…
Reference in a new issue