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