mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-19 13:29:42 +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)
|
curses.curs_set(0)
|
||||||
else:
|
else:
|
||||||
# hide blinking cursor
|
# hide blinking cursor
|
||||||
sys.stdout.write("\033[?251")
|
sys.stdout.write("\033[?1;0;0c")
|
||||||
sys.stdout.flush()
|
sys.stdout.flush()
|
||||||
# display wait
|
# display wait
|
||||||
display_image("WAIT")
|
display_image("WAIT")
|
||||||
|
@ -722,7 +722,6 @@ 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
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#!/usr/bin/python3
|
#!/usr/bin/python3
|
||||||
import os
|
import os
|
||||||
|
import sys
|
||||||
|
|
||||||
|
|
||||||
def waitMouseClick():
|
def waitMouseClick():
|
||||||
|
@ -14,6 +15,10 @@ def waitMouseClick():
|
||||||
mouse.close()
|
mouse.close()
|
||||||
|
|
||||||
|
|
||||||
|
# Hide blinking cursor
|
||||||
|
sys.stdout.write("\033[?1;0;0c")
|
||||||
|
sys.stdout.flush()
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
os.system("killall fim")
|
os.system("killall fim")
|
||||||
os.system("fim -qa image1.png 2>/dev/null &")
|
os.system("fim -qa image1.png 2>/dev/null &")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue