💾 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
⬅️ Previous capture (2023-11-14)
-=-=-=-=-=-=-
@mozz I'll see if I can get this working better in the next patch release.
Oct 18 · 2 months ago · 👍 mozz
@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
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.