summaryrefslogtreecommitdiff
path: root/src/options.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/options.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/options.go')
-rw-r--r--src/options.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/options.go b/src/options.go
index 030368fa..3def3395 100644
--- a/src/options.go
+++ b/src/options.go
@@ -1282,6 +1282,8 @@ func parseTheme(defaultTheme *tui.ColorTheme, str string) (*tui.ColorTheme, erro
switch components[0] {
case "query", "input", "input-fg":
mergeAttr(&theme.Input)
+ case "ghost":
+ mergeAttr(&theme.Ghost)
case "disabled":
mergeAttr(&theme.Disabled)
case "fg":