makew0rld / amfora

A fancy terminal browser for the Gemini protocol.
GNU General Public License v3.0
1.14k stars 65 forks source link

Link numbers cause link titles to wrap beyond the max width setting #280

Closed klundry closed 2 years ago

klundry commented 2 years ago

When setting the max width setting in the config regular text wraps at the correct width. Link titles on the other hand will extend out past the max width. I believe this is due to the link numbers and associated characters not being accounted for.

makew0rld commented 2 years ago

This was also an issue for other lines with prefixes, like list lines and quote lines. Thanks for reporting this. The fix is in master and will be in v1.10.0.