mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-24 15:59:42 +02:00
remove blinking cursor
This commit is contained in:
parent
3b901f327b
commit
48159766b1
1 changed files with 8 additions and 3 deletions
|
@ -27,9 +27,10 @@ import os
|
||||||
import pyudev
|
import pyudev
|
||||||
import psutil
|
import psutil
|
||||||
import queue
|
import queue
|
||||||
import threading
|
|
||||||
import time
|
|
||||||
import shutil
|
import shutil
|
||||||
|
import sys
|
||||||
|
import time
|
||||||
|
import threading
|
||||||
|
|
||||||
import pypandora
|
import pypandora
|
||||||
|
|
||||||
|
@ -267,6 +268,10 @@ def init_curses():
|
||||||
curses.noecho()
|
curses.noecho()
|
||||||
curses.curs_set(0)
|
curses.curs_set(0)
|
||||||
else:
|
else:
|
||||||
|
# hide blinking cursor
|
||||||
|
sys.stdout.write("\033[?251")
|
||||||
|
sys.stdout.flush()
|
||||||
|
# display wait
|
||||||
display_image("WAIT")
|
display_image("WAIT")
|
||||||
|
|
||||||
|
|
||||||
|
@ -764,7 +769,7 @@ def startup():
|
||||||
move_to_script_folder()
|
move_to_script_folder()
|
||||||
# read config
|
# read config
|
||||||
config()
|
config()
|
||||||
# Initialize curesrs
|
# Initialize curses
|
||||||
init_curses()
|
init_curses()
|
||||||
# Initilize log
|
# Initilize log
|
||||||
initlog()
|
initlog()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue