Skip to content

Commit 18a630d

Browse files
fix highlighted suggestion color
--HG-- branch : scroll-frontend
1 parent 7306686 commit 18a630d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bpython/scrollfrontend/replpainter.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ def paint_current_line(rows, columns, current_display_line):
4242
return fsarray([(line+' '*columns)[:columns] for line in lines])
4343

4444
def matches_lines(rows, columns, matches, current, config):
45-
highlight_color = lambda x: red(on_blue(x))
45+
highlight_color = func_for_letter(config.color_scheme['operator'].lower())
46+
#TODO ...that's not really what operator is for
4647
if not matches:
4748
return []
4849
color = func_for_letter(config.color_scheme['main'])

0 commit comments

Comments
 (0)