tiny fixes
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user