From 165454ff97b37426de3f6ac40a73768a9e5b2e00 Mon Sep 17 00:00:00 2001 From: Dimitris Marakomihelakis Date: Tue, 9 Mar 2021 22:41:38 +0200 Subject: [PATCH] Change 'cls' to 'clear' cls must be clear for other operating systems except windows. --- ep14/basic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ep14/basic.py b/ep14/basic.py index 0ddd449..d53d388 100644 --- a/ep14/basic.py +++ b/ep14/basic.py @@ -1716,7 +1716,7 @@ def execute_input_int(self, exec_ctx): execute_input_int.arg_names = [] def execute_clear(self, exec_ctx): - os.system('cls' if os.name == 'nt' else 'cls') + os.system('cls' if os.name == 'nt' else 'clear') return RTResult().success(Number.null) execute_clear.arg_names = []