Made it compatible with windows.
This commit is contained in:
commit
c1970033f0
1 changed files with 4 additions and 1 deletions
|
@ -18,7 +18,10 @@ yeet_dist = None
|
||||||
|
|
||||||
|
|
||||||
def clear():
|
def clear():
|
||||||
os.system("clear")
|
if os.name == "nt":
|
||||||
|
os.system("cls")
|
||||||
|
else:
|
||||||
|
os.system("clear")
|
||||||
|
|
||||||
|
|
||||||
def on_press(key):
|
def on_press(key):
|
||||||
|
|
Loading…
Reference in a new issue