tiny fixes

This commit is contained in:
q
2016-07-22 09:11:24 +03:00
parent 3df49ff0dd
commit e88a9c3fc8
2 changed files with 4 additions and 4 deletions

View File

@@ -351,7 +351,7 @@ def page_print(reader,opts,offset):
row_lines=int(float(len(row))/scrsize[1])
else:
row_lines=0
row_lines=0
colored_row=colored[row_i]#=colorify(row,opts)
if offset[1]==r+1+offset[0]:
colored_row=add_highlight(row,opts)
@@ -518,7 +518,7 @@ def add_highlight(s,opts):
cleaned=HL
else:
cleaned=bc.nocolor_string(s)
tagged="${Y}"+cleaned
tagged="${Y}"+cleaned+"${Z}"
return colorify(tagged,opts)
def launch(reader,opts,offset):