From fdfbbf6ae1dd7bdd1ad6a3c945dd71d85e03d0db Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Mon, 4 Oct 2021 11:52:42 -0600 Subject: [PATCH] Fix clear screen usage in GUI --- resources/utilities.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/utilities.py b/resources/utilities.py index 15cef94a3..11237e120 100644 --- a/resources/utilities.py +++ b/resources/utilities.py @@ -228,9 +228,9 @@ def cls(): return if not check_recovery(): os.system("cls" if os.name == "nt" else "clear") - else: + elif check_cli_args() is not None: print("\u001Bc") - + # Our GUI does not support clear screen def get_nvram(variable: str, uuid: str = None, *, decode: bool = False): # TODO: Properly fix for El Capitan, which does not print the XML representation even though we say to