mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-20 18:54:30 +10:00
Fix screen printing
This commit is contained in:
@@ -33,9 +33,10 @@ def check_recovery():
|
||||
|
||||
|
||||
def cls():
|
||||
# We only support macOS, so
|
||||
#print("\u001Bc")
|
||||
pass
|
||||
if check_recovery() == False:
|
||||
os.system('cls' if os.name == 'nt' else 'clear')
|
||||
else:
|
||||
print("\u001Bc")
|
||||
|
||||
# def menu(title, prompt, menu_options, add_quit=True, auto_number=False, in_between=[], top_level=False):
|
||||
# return_option = ["Q", "Quit", None] if top_level else ["B", "Back", None]
|
||||
|
||||
Reference in New Issue
Block a user