From ffb6e28ca7ea6dbaaf5bdf3e0f71b45565cb7b67 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Wed, 28 May 2025 00:27:33 +0900 Subject: Allow customizing --ghost color via '--color ghost' Examples: # Dimmed red fzf --ghost booya --color ghost:red # Regular red fzf --ghost booya --color ghost:red:regular Close #4398 --- src/terminal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/terminal.go') diff --git a/src/terminal.go b/src/terminal.go index 094d3c91..9bf469ce 100644 --- a/src/terminal.go +++ b/src/terminal.go @@ -2386,7 +2386,7 @@ func (t *Terminal) printPrompt() { before, after := t.updatePromptOffset() if len(before) == 0 && len(after) == 0 && len(t.ghost) > 0 { - w.CPrint(tui.ColInput.WithAttr(tui.Dim), t.ghost) + w.CPrint(tui.ColGhost, t.ghost) return } -- cgit v1.2.3