From 10d8f5a0132b2e560f00af0b1937e627e7f26599 Mon Sep 17 00:00:00 2001 From: Jan De Dobbeleer Date: Tue, 16 Nov 2021 00:26:44 +0100 Subject: [PATCH] fix: use reference colors in transient prompt --- src/engine.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine.go b/src/engine.go index 5798866b..684e2b1f 100644 --- a/src/engine.go +++ b/src/engine.go @@ -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: