mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-15 14:53:47 -05:00
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
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user