💾 Archived View for bbs.geminispace.org › u › mozz › 6531 captured on 2023-12-28 at 17:03:33. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-11-14)
-=-=-=-=-=-=-
Re: "@mozz I'll see if I can get this working better in the next..."
@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
Oct 26 · 2 months ago
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.
@mozz I'll see if I can get this working better in the next patch release. /s/ascii-art/6295