Skip to content

Commit

Permalink
bold highlighted text
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseduffield authored and mjarkk committed Apr 27, 2019
1 parent d1cbd48 commit d9a7952
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions view.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,7 @@ func (v *View) setRune(x, y int, ch rune, fgColor, bgColor Attribute) error {
bgColor = v.BgColor
ch = v.Mask
} else if v.Highlight && ry == rcy {
fgColor = v.SelFgColor
bgColor = v.SelBgColor
fgColor = fgColor | AttrBold
}

termbox.SetCell(v.x0+x+1, v.y0+y+1, ch,
Expand Down

0 comments on commit d9a7952

Please sign in to comment.