mirror of
https://github.com/ghndrx/shellmate.git
synced 2026-02-10 06:45:02 +00:00
Fix ASCII art title - use simple ASCII for terminal compatibility
This commit is contained in:
@@ -151,19 +151,19 @@ async def run_simple_menu(process, session: TerminalSession, username: str, mode
|
||||
for _ in range(top_pad):
|
||||
console.print()
|
||||
|
||||
# ASCII art title
|
||||
if session.width >= 60:
|
||||
title = """
|
||||
███████╗██╗ ██╗███████╗██╗ ██╗ ███╗ ███╗ █████╗ ████████╗███████╗
|
||||
██╔════╝██║ ██║██╔════╝██║ ██║ ████╗ ████║██╔══██╗╚══██╔══╝██╔════╝
|
||||
███████╗███████║█████╗ ██║ ██║ ██╔████╔██║███████║ ██║ █████╗
|
||||
╚════██║██╔══██║██╔══╝ ██║ ██║ ██║╚██╔╝██║██╔══██║ ██║ ██╔══╝
|
||||
███████║██║ ██║███████╗███████╗███████╗██║ ╚═╝ ██║██║ ██║ ██║ ███████╗
|
||||
╚══════╝╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚══════╝
|
||||
"""
|
||||
console.print(Text(title, style="bold green"))
|
||||
# ASCII art title - using simple ASCII for compatibility
|
||||
if session.width >= 70:
|
||||
title_lines = [
|
||||
r" ____ _ _ _ __ __ _ ",
|
||||
r" / ___|| |__ ___| | | \/ | __ _| |_ ___ ",
|
||||
r" \___ \| '_ \ / _ \ | | |\/| |/ _` | __/ _ \",
|
||||
r" ___) | | | | __/ | | | | | (_| | || __/",
|
||||
r" |____/|_| |_|\___|_|_|_| |_|\__,_|\__\___|",
|
||||
]
|
||||
for line in title_lines:
|
||||
console.print(Align.center(Text(line, style="bold green")))
|
||||
else:
|
||||
console.print(Align.center(Text("♟️ SHELLMATE ♟️", style="bold green")))
|
||||
console.print(Align.center(Text("♟ SHELLMATE ♟", style="bold green")))
|
||||
|
||||
console.print(Align.center(Text("SSH into Chess Mastery", style="dim italic")))
|
||||
console.print()
|
||||
|
||||
Reference in New Issue
Block a user