Skip to content

Commit 5f6e7ef

Browse files
committed
hopefully fix leftover crap on the screen on exit
1 parent f39df53 commit 5f6e7ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bpython/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2176,6 +2176,7 @@ def main(args=None):
21762176
# I don't know why this is necessary; without it the wrapper doesn't always do
21772177
# its job.
21782178
if stdscr is not None:
2179+
stdscr.clear()
21792180
stdscr.keypad(0)
21802181
curses.echo()
21812182
curses.nocbreak()

0 commit comments

Comments
 (0)