summaryrefslogtreecommitdiff
path: root/src/terminal.go
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2025-05-28 00:27:33 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2025-05-28 00:27:33 +0900
commitffb6e28ca7ea6dbaaf5bdf3e0f71b45565cb7b67 (patch)
treece9f98108136789d8813cccd2fa9b34e8ea96dff /src/terminal.go
parenta4c684685181d16c63d9f4edf79f24d245254c7a (diff)
downloadfzf-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.go2
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
}