Respect "boldness" of input string

This commit is contained in:
Junegunn Choi 2015-03-22 17:43:28 +09:00
parent 618706a5f5
commit f8c49effd4

View File

@ -353,7 +353,7 @@ func (*Terminal) printHighlighted(item *Item, bold bool, col1 int, col2 int, cur
if b < e { if b < e {
substr, prefixWidth = processTabs(text[b:e], prefixWidth) substr, prefixWidth = processTabs(text[b:e], prefixWidth)
C.CPrint(offset.color, bold, substr) C.CPrint(offset.color, offset.bold, substr)
} }
index = e index = e