Fix clear screen usage in GUI

This commit is contained in:
Mykola Grymalyuk
2021-10-04 11:52:42 -06:00
parent 4f9abbaa49
commit fdfbbf6ae1

View File

@@ -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