windows kompaktibel
This commit is contained in:
parent
c33659dae0
commit
14cba5daba
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