pitr / gemini-ios

Elaho - iOS browser for Gemini protocol
Mozilla Public License 2.0
116 stars 6 forks source link

ANSI Escape color codes #20

Closed pitr closed 3 years ago

pitr commented 3 years ago

for reference https://en.wikipedia.org/wiki/ANSI_escape_code#SGR

should be off by default and enabled with a setting

pitr commented 3 years ago

fixed by 7adb617ec66f04aec6b85120f5e917093a2d3873 and f63821bb8251278de6c20ca05ae6414998130766

hadibus commented 2 years ago

Great project. Glad there's a gemini browser for iOS 😀

It appears that this is working for preformatted text, but is not working in regular paragraphs.

Lagrange renders colors in paragraphs. See sentence at bottom "Today's blessed color is blue." pic-selected-220220-2104-01

The same sentence in Elaho is rendered as "Today's blessed color is [38;5;81mblue[0m."