Fix ASCII art right border alignment
Added extra spacing to align the right border of the chassis box correctly. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -36,21 +36,21 @@ generate_10bay_layout() {
|
|||||||
for bay in {1..10}; do
|
for bay in {1..10}; do
|
||||||
printf "┌──────────┐ "
|
printf "┌──────────┐ "
|
||||||
done
|
done
|
||||||
printf "│\n"
|
printf " │\n"
|
||||||
|
|
||||||
# Bay contents
|
# Bay contents
|
||||||
printf "│ "
|
printf "│ "
|
||||||
for bay in {1..10}; do
|
for bay in {1..10}; do
|
||||||
printf "│%-2d:%-7s│ " "$bay" "${DRIVE_MAP[$bay]:-EMPTY}"
|
printf "│%-2d:%-7s│ " "$bay" "${DRIVE_MAP[$bay]:-EMPTY}"
|
||||||
done
|
done
|
||||||
printf "│\n"
|
printf " │\n"
|
||||||
|
|
||||||
# Bay bottom borders
|
# Bay bottom borders
|
||||||
printf "│ "
|
printf "│ "
|
||||||
for bay in {1..10}; do
|
for bay in {1..10}; do
|
||||||
printf "└──────────┘ "
|
printf "└──────────┘ "
|
||||||
done
|
done
|
||||||
printf "│\n"
|
printf " │\n"
|
||||||
|
|
||||||
printf "└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘\n"
|
printf "└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘\n"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user