1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-08-04 21:35:24 +02:00

work in progress

This commit is contained in:
dbarzin 2022-06-12 12:50:04 +02:00
parent fa51c1168e
commit 414beccf04
2 changed files with 65 additions and 36 deletions

View file

@ -16,16 +16,16 @@ def updateBar(progress):
global progress_win
pos = (60 * progress) // 100
if pos != 0 :
progress_win.addstr(1, pos, "#")
progress_win.addstr(1, 1, "#" * pos)
progress_win.refresh()
initBar()
loading = 0
while loading < 100:
loading += 1
while loading <= 100:
time.sleep(0.03)
updateBar(loading)
loading += 3
time.sleep(1)