Fix ctrl+c breaking exit
parent
18029fca65
commit
4ae7246747
|
@ -13,7 +13,7 @@ class CursedMenu(object):
|
|||
self.initialized = False
|
||||
self.screen = curses.initscr()
|
||||
curses.noecho()
|
||||
curses.cbreak()
|
||||
curses.raw()
|
||||
curses.start_color()
|
||||
curses.curs_set(0)
|
||||
self.screen.keypad(1)
|
||||
|
|
Loading…
Reference in New Issue