mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-20 22:09:42 +02:00
wait-key
This commit is contained in:
parent
8cff2ff6f8
commit
b9ee3e9d84
1 changed files with 2 additions and 1 deletions
|
@ -262,10 +262,11 @@ def init_curses():
|
||||||
if has_curses:
|
if has_curses:
|
||||||
screen = curses.initscr()
|
screen = curses.initscr()
|
||||||
screen.keypad(1)
|
screen.keypad(1)
|
||||||
|
curses.curs_set(0)
|
||||||
curses.mousemask(curses.ALL_MOUSE_EVENTS | curses.REPORT_MOUSE_POSITION)
|
curses.mousemask(curses.ALL_MOUSE_EVENTS | curses.REPORT_MOUSE_POSITION)
|
||||||
curses.flushinp()
|
curses.flushinp()
|
||||||
curses.noecho()
|
curses.noecho()
|
||||||
curses.curs_set(0)
|
screen.clear()
|
||||||
else:
|
else:
|
||||||
display_image("WAIT")
|
display_image("WAIT")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue