Skip to content

Commit 3eca191

Browse files
prevent status bar from flashing at bottom
1 parent a676df3 commit 3eca191

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎bpython/curtsiesfrontend/repl.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,8 @@ def paint(self, about_to_exit=False, user_quit=False):
11621162
self.clean_up_current_line_for_exit() # exception to not changing state!
11631163

11641164
width, min_height = self.width, self.height
1165-
show_status_bar = bool(self.status_bar.should_show_message) or self.status_bar.has_focus
1165+
show_status_bar = ((bool(self.status_bar.should_show_message) or self.status_bar.has_focus)
1166+
and not self.request_paint_to_pad_bottom)
11661167
if show_status_bar:
11671168
# because we're going to tack the status bar on at the end, shoot
11681169
# for an array one less than the height of the screen

0 commit comments

Comments
 (0)