Use clear command on Cygwin

This commit is contained in:
q3aql 2022-07-03 20:44:56 +02:00
parent a177ea251d
commit e3eecb0336

View File

@ -30,7 +30,7 @@ if sys.version_info<(3,0):
#Function to clear screen
def ClearScreen():
if sys.platform == "cygwin":
print (300 * "\n")
os.system("clear")
elif os.name == "posix":
os.system("clear")
elif os.name == "nt":