mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-01 12:42:01 -07:00
Fix --no-bold on --no-color
This commit is contained in:
@@ -182,9 +182,7 @@ func attrMono(pair ColorPair, a Attr) C.int {
|
|||||||
var attr C.int
|
var attr C.int
|
||||||
switch pair {
|
switch pair {
|
||||||
case ColCurrent:
|
case ColCurrent:
|
||||||
if C.int(a)&C.A_BOLD == C.A_BOLD {
|
attr = C.A_REVERSE
|
||||||
attr = C.A_REVERSE
|
|
||||||
}
|
|
||||||
case ColMatch:
|
case ColMatch:
|
||||||
attr = C.A_UNDERLINE
|
attr = C.A_UNDERLINE
|
||||||
case ColCurrentMatch:
|
case ColCurrentMatch:
|
||||||
|
Reference in New Issue
Block a user