From 12964fa3ab50f1366ab6f20295b9ce0ef2a37723 Mon Sep 17 00:00:00 2001 From: Seth Date: Thu, 12 Mar 2026 04:27:24 +0000 Subject: [PATCH] Increase spacing between nail boxes to prevent bleeding - Increased gap from 2 to 5 spaces between NAIL 1 and NAIL 2 boxes - Prevents right-side text from bleeding into left side - Better visual separation and clarity - Deployed and verified on Pi --- piNail2/tty_status_display.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/piNail2/tty_status_display.py b/piNail2/tty_status_display.py index 66209cb..73d4f76 100644 --- a/piNail2/tty_status_display.py +++ b/piNail2/tty_status_display.py @@ -267,9 +267,9 @@ class StatusDisplay: nail2_lines.append("") # Draw separate boxes for each nail side-by-side - lines.append("{}┌──────────────────────────┐ ┌──────────────────────────┐{}".format( + lines.append("{}┌──────────────────────────┐ ┌──────────────────────────┐{}".format( Colors.CYAN, Colors.RESET)) - lines.append("{}│ {}NAIL 1{:<17}│ │ {}NAIL 2{:<17}│{}".format( + lines.append("{}│ {}NAIL 1{:<17}│ │ {}NAIL 2{:<17}│{}".format( Colors.CYAN, Colors.BRIGHT_RED + Colors.BOLD, Colors.CYAN, @@ -277,14 +277,14 @@ class StatusDisplay: Colors.CYAN, Colors.RESET )) - lines.append("{}├──────────────────────────┤ ├──────────────────────────┤{}".format( + lines.append("{}├──────────────────────────┤ ├──────────────────────────┤{}".format( Colors.CYAN, Colors.RESET)) for n1_line, n2_line in zip(nail1_lines, nail2_lines): - # Pad lines to 24 chars for each box + # Pad lines to 24 chars for each box with 5 spaces between n1_padded = "{:<24}".format(n1_line[:24]) n2_padded = "{:<24}".format(n2_line[:24]) - lines.append("{}│ {} │ │ {} │{}".format( + lines.append("{}│ {} │ │ {} │{}".format( Colors.CYAN, n1_padded, n2_padded, @@ -292,7 +292,7 @@ class StatusDisplay: )) # Footer - lines.append("{}└──────────────────────────┘ └──────────────────────────┘{}".format( + lines.append("{}└──────────────────────────┘ └──────────────────────────┘{}".format( Colors.CYAN, Colors.RESET)) return "\n".join(lines)