mirror of
https://github.com/ghndrx/shellmate.git
synced 2026-02-10 14:55:08 +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):
|
for _ in range(top_pad):
|
||||||
console.print()
|
console.print()
|
||||||
|
|
||||||
# ASCII art title
|
# ASCII art title - using simple ASCII for compatibility
|
||||||
if session.width >= 60:
|
if session.width >= 70:
|
||||||
title = """
|
title_lines = [
|
||||||
███████╗██╗ ██╗███████╗██╗ ██╗ ███╗ ███╗ █████╗ ████████╗███████╗
|
r" ____ _ _ _ __ __ _ ",
|
||||||
██╔════╝██║ ██║██╔════╝██║ ██║ ████╗ ████║██╔══██╗╚══██╔══╝██╔════╝
|
r" / ___|| |__ ___| | | \/ | __ _| |_ ___ ",
|
||||||
███████╗███████║█████╗ ██║ ██║ ██╔████╔██║███████║ ██║ █████╗
|
r" \___ \| '_ \ / _ \ | | |\/| |/ _` | __/ _ \",
|
||||||
╚════██║██╔══██║██╔══╝ ██║ ██║ ██║╚██╔╝██║██╔══██║ ██║ ██╔══╝
|
r" ___) | | | | __/ | | | | | (_| | || __/",
|
||||||
███████║██║ ██║███████╗███████╗███████╗██║ ╚═╝ ██║██║ ██║ ██║ ███████╗
|
r" |____/|_| |_|\___|_|_|_| |_|\__,_|\__\___|",
|
||||||
╚══════╝╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚══════╝
|
]
|
||||||
"""
|
for line in title_lines:
|
||||||
console.print(Text(title, style="bold green"))
|
console.print(Align.center(Text(line, style="bold green")))
|
||||||
else:
|
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(Align.center(Text("SSH into Chess Mastery", style="dim italic")))
|
||||||
console.print()
|
console.print()
|
||||||
|
|||||||
Reference in New Issue
Block a user