1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-07-18 21:09:41 +02:00

remove blinking cursor

This commit is contained in:
dbarzin 2023-03-05 12:58:15 +01:00
parent 3b901f327b
commit 48159766b1

View file

@ -27,9 +27,10 @@ import os
import pyudev
import psutil
import queue
import threading
import time
import shutil
import sys
import time
import threading
import pypandora
@ -267,6 +268,10 @@ def init_curses():
curses.noecho()
curses.curs_set(0)
else:
# hide blinking cursor
sys.stdout.write("\033[?251")
sys.stdout.flush()
# display wait
display_image("WAIT")
@ -764,7 +769,7 @@ def startup():
move_to_script_folder()
# read config
config()
# Initialize curesrs
# Initialize curses
init_curses()
# Initilize log
initlog()