-- Leo's gemini proxy

-- Connecting to bbs.geminispace.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini; charset=utf-8

@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 [sysop]

2023-10-18 · 7 months ago · 👍 mozz


2 Comments ↓


☕ī¸ mozz [mod] ¡ 2023-10-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 [OP...] ¡ 2023-10-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.

-- Response ended

-- Page fetched on Sun May 19 09:37:01 2024