skyjake / lagrange

A Beautiful Gemini Client
https://gmi.skyjake.fi/lagrange/
BSD 2-Clause "Simplified" License
1.16k stars 62 forks source link

Option to wrap preformatted text blocks #635

Open nervuri opened 8 months ago

nervuri commented 8 months ago

Take this page as an example:

gemini://gemi.dev/gemini-mailing-list/messages/000190.gmi

The long lines don't fit on my screen and Lagrange doesn't seem to have a way to scroll to the right. Reading the full message is impossible, unless I right-click > "View as Plain Text" (with the "wrap long plain text lines" preference enabled). Even with horizontal scrolling, reading long lines would be annoying.

Please add a an option to wrap preformatted text blocks (maybe a per-block option would make the most sense).

As for horizontal scrolling, I see there are already two open issues requesting this.

skyjake commented 8 months ago

I agree it would be useful to have an option to force-wrap a chosen preformatted block (i.e., overriding the preformatting), particularly on mobile.