Fix --no-bold on --no-color

pull/747/head
Junegunn Choi 8 years ago
parent 3cd2547e91
commit d75ed841a9
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -182,9 +182,7 @@ func attrMono(pair ColorPair, a Attr) C.int {
var attr C.int
switch pair {
case ColCurrent:
if C.int(a)&C.A_BOLD == C.A_BOLD {
attr = C.A_REVERSE
}
attr = C.A_REVERSE
case ColMatch:
attr = C.A_UNDERLINE
case ColCurrentMatch:

Loading…
Cancel
Save