[Console] endwin() not needed when using wrapper
Using it anyway produces a crash because it returns an error if called two times without any intervening updates. Closes: https://github.com/deluge-torrent/deluge/pull/461
This commit is contained in:
parent
e1fa8d18ec
commit
8867da94f8
|
@ -236,7 +236,6 @@ class BaseMode(CursesStdIO, component.Component):
|
||||||
curses.nocbreak()
|
curses.nocbreak()
|
||||||
self.stdscr.keypad(0)
|
self.stdscr.keypad(0)
|
||||||
curses.echo()
|
curses.echo()
|
||||||
curses.endwin()
|
|
||||||
|
|
||||||
|
|
||||||
def add_string(
|
def add_string(
|
||||||
|
|
Loading…
Reference in New Issue