We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fce5184 commit 245b46cCopy full SHA for 245b46c
1 file changed
bpython/cli.py
@@ -1865,12 +1865,10 @@ def idle(caller):
1865
messages and the resize handlers need to be here to make
1866
sure it happens conveniently."""
1867
1868
- global stdscr
1869
-
1870
if importcompletion.find_coroutine() or caller.paste_mode:
1871
- stdscr.nodelay(True)
1872
- key = stdscr.getch()
1873
- stdscr.nodelay(False)
+ caller.scr.nodelay(True)
+ key = caller.scr.getch()
+ caller.scr.nodelay(False)
1874
curses.ungetch(key)
1875
caller.statusbar.check()
1876
caller.check()
0 commit comments