<-- back to the mailing list

Text reflow woes (or: I want bullets back!)y

Julien Blanchard julien at typed-hole.org

Sat Jan 18 16:41:05 GMT 2020

- - - - - - - - - - - - - - - - - - - ```

On 1/18/20 4:39 PM, solderpunk wrote:

> Julien, as the author of multiple Gemini clients, how do you feel about
> the prospect of most text/gemini content having very long lines which
> need to be wrapped to fit the viewport?

Both my clients try to display content as the author wrote it and Iparse it line by line so I don't see any issue with the proposal aslong as I can get the viewport size in my clients.Both NCurses and GTK should provide that I'm quite sure.

Identifying what is meant by a line by it's first 3 characters isgreat, will make the parsing even simpler!

The ``` case will be a little bit more problematic as the parsingprocess would need to know what was parsed a few lines before(was a "tag" opened?).

Line by line parsing is preferable to allow simple implementationsto me, but that's not be a deal-breaker either.