mirror of
https://github.com/junegunn/fzf
synced 2026-07-29 18:01:42 +00:00
Respect 'regular' attribute in 'bw' base theme
Don't make the text bold if an element is explicitly specified as 'regular'. Fix #3222
This commit is contained in:
+1
-3
@@ -2003,9 +2003,7 @@ func postProcessOptions(opts *Options) {
|
||||
theme := opts.Theme
|
||||
boldify := func(c tui.ColorAttr) tui.ColorAttr {
|
||||
dup := c
|
||||
if !theme.Colored {
|
||||
dup.Attr |= tui.Bold
|
||||
} else if (c.Attr & tui.AttrRegular) == 0 {
|
||||
if (c.Attr & tui.AttrRegular) == 0 {
|
||||
dup.Attr |= tui.Bold
|
||||
}
|
||||
return dup
|
||||
|
||||
Reference in New Issue
Block a user