Skip to content

Commit 01b8f6e

Browse files
prevent status bar from flashing at bottom
1 parent a0dd141 commit 01b8f6e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bpython/curtsiesfrontend/repl.py

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

11971197
width, min_height = self.width, self.height
1198-
show_status_bar = bool(self.status_bar.should_show_message) or self.status_bar.has_focus
1198+
show_status_bar = ((bool(self.status_bar.should_show_message) or self.status_bar.has_focus)
1199+
and not self.request_paint_to_pad_bottom)
11991200
if show_status_bar:
12001201
# because we're going to tack the status bar on at the end, shoot
12011202
# for an array one less than the height of the screen

0 commit comments

Comments
 (0)