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