mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-18 21:09:41 +02:00
remove blink cursor
This commit is contained in:
parent
48159766b1
commit
3845113484
2 changed files with 6 additions and 2 deletions
|
@ -269,7 +269,7 @@ def init_curses():
|
|||
curses.curs_set(0)
|
||||
else:
|
||||
# hide blinking cursor
|
||||
sys.stdout.write("\033[?251")
|
||||
sys.stdout.write("\033[?1;0;0c")
|
||||
sys.stdout.flush()
|
||||
# display wait
|
||||
display_image("WAIT")
|
||||
|
@ -722,7 +722,6 @@ def clean():
|
|||
|
||||
# TODO: check key is still here
|
||||
|
||||
|
||||
# Remove infected files
|
||||
files_removed = 0
|
||||
has_error = False
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#!/usr/bin/python3
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
||||
def waitMouseClick():
|
||||
|
@ -14,6 +15,10 @@ def waitMouseClick():
|
|||
mouse.close()
|
||||
|
||||
|
||||
# Hide blinking cursor
|
||||
sys.stdout.write("\033[?1;0;0c")
|
||||
sys.stdout.flush()
|
||||
|
||||
while True:
|
||||
os.system("killall fim")
|
||||
os.system("fim -qa image1.png 2>/dev/null &")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue