Skip to content

Commit 7fc33a9

Browse files
fix #332
1 parent f6043df commit 7fc33a9

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

bpython/curtsiesfrontend/repl.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,14 @@ def paint(self, about_to_exit=False, user_quit=False):
950950
visible_space_below = min_height - current_line_end_row - 1
951951

952952
info_max_rows = max(visible_space_above, visible_space_below)
953-
infobox = paint.paint_infobox(info_max_rows, int(width * self.config.cli_suggestion_width), self.matches_iter.matches, self.argspec, self.current_match, self.docstring, self.config, self.matches_iter.completer.format)
953+
infobox = paint.paint_infobox(info_max_rows,
954+
int(width * self.config.cli_suggestion_width),
955+
self.matches_iter.matches,
956+
self.argspec,
957+
self.current_match,
958+
self.docstring,
959+
self.config,
960+
self.matches_iter.completer.format if self.matches_iter.completer else None)
954961

955962
if visible_space_above >= infobox.height and self.config.curtsies_list_above:
956963
arr[current_line_start_row - infobox.height:current_line_start_row, 0:infobox.width] = infobox

0 commit comments

Comments
 (0)