Issue #5622: merge fix from 3.2.
This commit is contained in:
commit
33cb5c9017
|
@ -43,7 +43,8 @@ def wrapper(func, *args, **kwds):
|
|||
return func(stdscr, *args, **kwds)
|
||||
finally:
|
||||
# Set everything back to normal
|
||||
stdscr.keypad(0)
|
||||
curses.echo()
|
||||
curses.nocbreak()
|
||||
curses.endwin()
|
||||
if 'stdscr' in locals():
|
||||
stdscr.keypad(0)
|
||||
curses.echo()
|
||||
curses.nocbreak()
|
||||
curses.endwin()
|
||||
|
|
Loading…
Reference in New Issue