-- Leo's gemini proxy

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

-- Connected

-- Sending request

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

Comment by 🕹️ skyjake


Re: "tcf-x [ANSI]"

In: s/ascii-art


The second preformatted block had some null characters at the end, which was throwing both Bubble and Lagrange for a loop about what to do with the end of the block.


I applied some fixes in Bubble to help deal with those. Lagrange still needs to improve its ANSI styling a bit to enable formatting to continue onto subsequent lines inside a preformatted block.


Note that most ANSI escapes that move the cursor are not supported in Lagrange. I didn't check if the second block has these, but from the looks of it there might be some.


🕹️ skyjake [sysop]

2023-10-18 · 7 months ago


2 Later Comments ↓


🕹️ skyjake [...] · 2023-10-21 at 19:28:

The next patch is done but I didn't yet investigate the ANSI formatting issues here. Preformatted blocks are more well-behaved in general, though.


🕹️ skyjake [...] · 2023-10-25 at 14:43:

v1.17.2 has been released. The second version works somewhat better, although still not totally correctly. I'm not sure if it's worthwhile to keep improving the ANSI sequence support for the time being, but maybe I'll circle back here later on.


Original Post


🌒 s/ascii-art

— /u/mozz/file/191

tcf-x [ANSI] — Testing posting ANSI art to Bubble. This piece is from a 2015 art pack, [https link] I converted it from an .ans file to utf-8 using a custom version of this algorithm, [https link] The top is utf-8 only, the bottom is utf-8 with ansi colors, bold and other sequences. It seems to be breaking Lagrange for me, everything below the preformatted block is not parsed correctly. [preformatted] [preformatted]

💬 mozz [mod] · 3 comments · 2023-10-18 · 7 months ago

-- Response ended

-- Page fetched on Sun Jun 2 10:39:22 2024