💾 Archived View for bbs.geminispace.org › s › ascii-art › 6296 captured on 2023-12-28 at 16:11:53. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-11-14)

➡️ Next capture (2024-02-05)

🚧 View Differences

-=-=-=-=-=-=-

@mozz I'll see if I can get this working better in the next patch release.

/s/ascii-art/6295

Posted in: s/ascii-art

🚀 skyjake

Oct 18 · 2 months ago · 👍 mozz

2 Comments ↓

☕️ mozz · Oct 26 at 00:15:

@skyjake you're an overachiever! I'll play with it on my end too and see if I can clean up the escape sequences a bit. My wishlist for ANSI support would be, in order:

1. 8 background colors

2. bold text + 8 high-intensity foreground colors

3. 256 extended colors

4. underline

I have used this library in the past and it might be helpful to see how someone else did it.

— https://github.com/pycontribs/ansi2html

🚀 skyjake · Oct 26 at 11:09:

Your wishes 1, 2 and 3 are already supported. For bold fonts, you need to install a monospace fontpack that includes a bold weight. Lagrange does not come with one by default.

Underlining should be possible to add at some point. It's a relatively simple change in the text renderer.