mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-19 13:29: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:
|
||||
screen = curses.initscr()
|
||||
screen.keypad(1)
|
||||
curses.curs_set(0)
|
||||
curses.mousemask(curses.ALL_MOUSE_EVENTS | curses.REPORT_MOUSE_POSITION)
|
||||
curses.flushinp()
|
||||
curses.noecho()
|
||||
curses.curs_set(0)
|
||||
screen.clear()
|
||||
else:
|
||||
display_image("WAIT")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue