From 35f7aa41cfc40420962ae2876df587db76a95aae Mon Sep 17 00:00:00 2001 From: Seth Date: Thu, 12 Mar 2026 04:14:47 +0000 Subject: [PATCH] Replace large ASCII art with compact box-style header - Replaced multi-line block ASCII art with compact boxed header - New design: compact box with 'PINAIL' text and version info - Better suited for smaller screens and TTY displays - Cleaner, more readable layout - Deployed and verified on Pi --- piNail2/tty_status_display.py | 46 +++++++++++++++-------------------- 1 file changed, 19 insertions(+), 27 deletions(-) diff --git a/piNail2/tty_status_display.py b/piNail2/tty_status_display.py index 2af84c7..b472954 100644 --- a/piNail2/tty_status_display.py +++ b/piNail2/tty_status_display.py @@ -228,37 +228,29 @@ class StatusDisplay: """Draw the complete status display frame.""" lines = [] - # ASCII Art Title + # ASCII Art Title (compact) lines.append("") - lines.append("{}{}".format(Colors.BRIGHT_CYAN + Colors.BOLD, - " ____ _ _ _ _ _ _ _ ")) - lines.append("{}".format( - " | _ \\| | | | / \\ | | | | | | | ")) - lines.append("{}".format( - " | |_) | | | |/ _ \\ | |_| | | | | ")) - lines.append("{}".format( - " | __/| |_| / ___ \\| _ | |_| | ")) - lines.append("{}".format( - " |_| \\___/_/ \\_\\_| |_|\\___/ ")) - lines.append("{}".format(Colors.RESET)) + lines.append("{}{}{}".format(Colors.BRIGHT_CYAN + Colors.BOLD, + "╔═══════════════════════════════════════╗", Colors.RESET)) + lines.append("{}{}{}".format(Colors.BRIGHT_CYAN + Colors.BOLD, + "║ ║", Colors.RESET)) + lines.append("{}{}{}".format(Colors.BRIGHT_CYAN + Colors.BOLD, + "║ >> PINAIL << ║", Colors.RESET)) + lines.append("{}{}{}".format(Colors.BRIGHT_CYAN + Colors.BOLD, + "║ E-Nail Control System v2 ║", Colors.RESET)) + lines.append("{}{}{}".format(Colors.BRIGHT_CYAN + Colors.BOLD, + "║ ║", Colors.RESET)) + lines.append("{}{}{}".format(Colors.BRIGHT_CYAN + Colors.BOLD, + "╚═══════════════════════════════════════╝", Colors.RESET)) - # Timestamp and border + # Timestamp timestamp = datetime.now().strftime("%Y-%m-%d %H:%M:%S") - lines.append("{}{}═══════════════════════════════════════════════════════{}".format( - Colors.BRIGHT_CYAN, - "═", - Colors.RESET - )) - lines.append("{}STATUS DISPLAY{} {}{}".format( - Colors.CYAN, - Colors.RESET, + lines.append("") + lines.append("{}{} {}{}".format( Colors.DIM, - timestamp - )) - lines.append("{}═══════════════════════════════════════════════════════{}".format( - Colors.BRIGHT_CYAN, - "═", - Colors.RESET + timestamp, + Colors.RESET, + "" )) lines.append("")