diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2016-11-19 23:12:28 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2016-11-19 23:12:28 +0900 |
commit | d75ed841a939481a8c74d63c8d463fa566560ca3 (patch) | |
tree | 748fdd3b4ef98a82787288f0c6f06572aab1dfbb /src/tui | |
parent | 3cd2547e91fb3fee1b331c5fa97244d6a20e9d0b (diff) |
Fix --no-bold on --no-color
Diffstat (limited to 'src/tui')
-rw-r--r-- | src/tui/ncurses.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tui/ncurses.go b/src/tui/ncurses.go index fc15b807..5c192e60 100644 --- a/src/tui/ncurses.go +++ b/src/tui/ncurses.go @@ -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: |