mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-19 05:19:40 +02:00
fix screen issue
This commit is contained in:
parent
afddbeb820
commit
f1e7c8d28c
1 changed files with 2 additions and 2 deletions
|
@ -262,11 +262,10 @@ 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()
|
||||||
screen.clear()
|
curses.curs_set(0)
|
||||||
else:
|
else:
|
||||||
display_image("WAIT")
|
display_image("WAIT")
|
||||||
|
|
||||||
|
@ -718,6 +717,7 @@ def clean():
|
||||||
|
|
||||||
# TODO: check key is still here
|
# TODO: check key is still here
|
||||||
|
|
||||||
|
|
||||||
# Remove infected files
|
# Remove infected files
|
||||||
files_removed = 0
|
files_removed = 0
|
||||||
has_error = False
|
has_error = False
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue