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
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user