diff --git a/Main.py b/Main.py index cb04850..fefc38e 100644 --- a/Main.py +++ b/Main.py @@ -4,9 +4,7 @@ def main(): try: - #Comment the following lines if not in windows - os.system("cls") - os.system("color 0A") + os.system("clear") print("Definicion de la Matriz") @@ -54,20 +52,17 @@ def main(): if rep.upper() == "S": main() elif rep.upper() == "N": - os.system("cls") - os.system("color 07") + os.system("clear") exit() else: print("Not a real option, exiting!") exit() #Handle Keyboard Interrupt error except KeyboardInterrupt as ManualExit: - #Change to "clear" if in linux or IOS - os.system("color 07") - os.system("cls") + + os.system("clear") exit() finally: - os.system("color 07") exit() if __name__=="__main__":