Ultra-compact header for small terminal widths
- Simplified header to single line: '>> PINAIL STATUS <<' - Fixed wrapping issues on narrow/small screens - Much more compatible with various display sizes - Deployed and verified
This commit is contained in:
@@ -228,20 +228,10 @@ class StatusDisplay:
|
|||||||
"""Draw the complete status display frame."""
|
"""Draw the complete status display frame."""
|
||||||
lines = []
|
lines = []
|
||||||
|
|
||||||
# ASCII Art Title (compact)
|
# ASCII Art Title (ultra-compact)
|
||||||
lines.append("")
|
lines.append("")
|
||||||
lines.append("{}{}{}".format(Colors.BRIGHT_CYAN + Colors.BOLD,
|
lines.append("{}{}{}".format(Colors.BRIGHT_CYAN + Colors.BOLD,
|
||||||
"╔═══════════════════════════════════════╗", Colors.RESET))
|
">> PINAIL STATUS <<", 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
|
# Timestamp
|
||||||
timestamp = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
timestamp = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
||||||
|
|||||||
Reference in New Issue
Block a user