1
0
Fork 0
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:
dbarzin 2023-03-05 12:33:52 +01:00
parent afddbeb820
commit f1e7c8d28c

View file

@ -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