From e3eecb0336b80e663f0a93931049338687412bab Mon Sep 17 00:00:00 2001 From: q3aql Date: Sun, 3 Jul 2022 20:44:56 +0200 Subject: [PATCH] Use clear command on Cygwin --- a2tm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a2tm.py b/a2tm.py index 35c8cb6..23989c5 100755 --- a/a2tm.py +++ b/a2tm.py @@ -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":