Print a single info line with proper padding
(text: str)
| 225 | BOX_WIDTH = 58 |
| 226 | |
| 227 | def print_info_line(text: str): |
| 228 | """Print a single info line with proper padding""" |
| 229 | # Account for leading space |
| 230 | text_width = calculate_display_width(text) |
| 231 | padding = max(0, BOX_WIDTH - 1 - text_width) |
| 232 | print(f"{Colors.DIM}│{Colors.RESET} {text}{' ' * padding}{Colors.DIM}│{Colors.RESET}") |
| 233 | |
| 234 | # Top border |
| 235 | print(f"{Colors.DIM}┌{'─' * BOX_WIDTH}┐{Colors.RESET}") |
no test coverage detected