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/options.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/options.go') 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": -- cgit v1.2.3