diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2024-06-02 18:08:24 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2024-06-02 18:09:41 +0900 |
| commit | c29533994f656f34de37ca639b0abca486f5dd7f (patch) | |
| tree | ebefb688e231227359c89aac8e8937242c278f0f | |
| parent | 1afe13b5b59b50dffa6e169f0b3b886b45f833b9 (diff) | |
| download | fzf-c29533994f656f34de37ca639b0abca486f5dd7f.tar.gz | |
Fix invalid default of selected-hl (--color)
It should default to 'hl' instead of 'current-hl'
| -rw-r--r-- | src/tui/tui.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tui/tui.go b/src/tui/tui.go index 23dba8ba..96a72651 100644 --- a/src/tui/tui.go +++ b/src/tui/tui.go @@ -823,7 +823,7 @@ func initTheme(theme *ColorTheme, baseTheme *ColorTheme, forceBlack bool) { // These colors are not defined in the base themes theme.SelectedFg = o(theme.Fg, theme.SelectedFg) theme.SelectedBg = o(theme.Bg, theme.SelectedBg) - theme.SelectedMatch = o(theme.CurrentMatch, theme.SelectedMatch) + theme.SelectedMatch = o(theme.Match, theme.SelectedMatch) theme.Disabled = o(theme.Input, theme.Disabled) theme.Gutter = o(theme.DarkBg, theme.Gutter) theme.PreviewFg = o(theme.Fg, theme.PreviewFg) |
