Skip to content
Snippets Groups Projects
Unverified Commit d75ed841 authored by Junegunn Choi's avatar Junegunn Choi
Browse files

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

parent 3cd2547e
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment