Skip to content

Commit aff2b91

Browse files
author
Astarcys
committed
added clear screen function
1 parent 664b125 commit aff2b91

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Sap.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def songplay(q):
4444
mixer.music.unload()
4545
mixer.music.load(q.pop(0))
4646
mixer.music.play()
47-
sleep(3)
47+
sleep(2)
4848

4949
song=threading.Thread(target=songplay, args=(q,))
5050

@@ -93,10 +93,16 @@ def player(q):
9393
if d!='esc':
9494
if int(d)-1 in range(len(listdir('songs'))):
9595
remove('songs/'+str(listdir('songs')[int(d)-1]))
96+
elif n.lower()=="cs":
97+
system("cls")
98+
print(pop)
99+
print("\n~~>Built by Avnes\n~~>Bound to be dogshit\n~~>Use at your own risk\n")
100+
print("Interface cleared. You may proceed.")
96101

97102

98103
play=threading.Thread(target=player, args=(q,))
99104

100105

101106
play.start()
102107
song.start()
108+

Sappy.zip

38.9 MB
Binary file not shown.

0 commit comments

Comments
 (0)