Replace hardcoded 70-char string with a dynamically generated divider capped at terminal width (max 70) so the separator fits narrow terminals instead of overflowing them.
Replace hardcoded 70-char string with a dynamically generated divider capped at terminal width (max 70) so the separator fits narrow terminals instead of overflowing them.