diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2025-10-12 13:55:03 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2025-10-12 13:58:46 +0900 |
| commit | f2b33f038a90fabd4b0564338b44afcbf2be04bb (patch) | |
| tree | 7177d10d3c6fff5df961d612f73ce55cae4b26f2 /src/tui/tui.go | |
| parent | d5913bf86e004cb5040dbc0a8c1059ff9a91565a (diff) | |
| download | fzf-f2b33f038a90fabd4b0564338b44afcbf2be04bb.tar.gz | |
Revert "Make query string in `--disabled` state bold as before"
This reverts commit ab407c4645952d09c4bb9b481b178717f0a0578f.
Diffstat (limited to 'src/tui/tui.go')
| -rw-r--r-- | src/tui/tui.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tui/tui.go b/src/tui/tui.go index 86c5d405..ca3d5531 100644 --- a/src/tui/tui.go +++ b/src/tui/tui.go @@ -1178,6 +1178,9 @@ func InitTheme(theme *ColorTheme, baseTheme *ColorTheme, boldify bool, forceBlac ghost := theme.Ghost if ghost.IsUndefined() { ghost.Attr = Dim + } else if ghost.IsColorDefined() && !ghost.IsAttrDefined() { + // Don't want to inherit 'bold' from 'input' + ghost.Attr = AttrRegular } theme.Ghost = o(theme.Input, ghost) theme.Disabled = o(theme.Input, theme.Disabled) @@ -1241,7 +1244,6 @@ func InitTheme(theme *ColorTheme, baseTheme *ColorTheme, boldify bool, forceBlac theme.CurrentMatch = boldify(theme.CurrentMatch) theme.Prompt = boldify(theme.Prompt) theme.Input = boldify(theme.Input) - theme.Disabled = boldify(theme.Disabled) theme.Cursor = boldify(theme.Cursor) theme.Spinner = boldify(theme.Spinner) } |
