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