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/options.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/options.go')
| -rw-r--r-- | src/options.go | 2 |
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": |
