diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2025-05-28 00:27:33 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2025-05-28 00:27:33 +0900 |
| commit | ffb6e28ca7ea6dbaaf5bdf3e0f71b45565cb7b67 (patch) | |
| tree | ce9f98108136789d8813cccd2fa9b34e8ea96dff /src/terminal.go | |
| parent | a4c684685181d16c63d9f4edf79f24d245254c7a (diff) | |
| download | fzf-ffb6e28ca7ea6dbaaf5bdf3e0f71b45565cb7b67.tar.gz | |
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
Diffstat (limited to 'src/terminal.go')
| -rw-r--r-- | src/terminal.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |
