Two-column section header row (title on left, blank right).
(text: str)
| 31 | return "║" + text.center(_IW) + "║" |
| 32 | |
| 33 | def _section_title(text: str) -> str: |
| 34 | """Two-column section header row (title on left, blank right).""" |
| 35 | left = (" " + text).ljust(_LW) |
| 36 | right = " " * _RW |
| 37 | return f"║{left}║{right}║" |
| 38 | |
| 39 | def _row(label: str, value: str) -> str: |
| 40 | left = (" " + label).ljust(_LW) |