Comment by ๐Ÿš€ stack

=> Re: "Can't find in Gemini specification something about terminal..." | In: s/Gemini

A consequence of early terminal clients dumping content... Please try to support at least foreground, and preferably background especially in preformatted mode so that games work

=> ๐Ÿš€ stack

2024-12-04 ยท 8 weeks ago

1 Later Comment

=> ๐Ÿ•น๏ธ skyjake [mod...] ยท Dec 05 at 04:32:

ANSI escape codes other than SGR codes probably would not be meaningful and probably should not be used.

I've found that correctly rendering many ASCII art images requires a few cursor control sequences, too, like moving right by N columns.

If one's goal is rendering ASCII art in plaintext documents and Gemtext preformatted blocks, implementing support for ANSI escape sequences is needed.

The Gemtext specification says nothing about the use of ANSI escape sequences, though. This leaves the client free to present them however they choose to, which basically is either stripping them out or applying the corresponding formatting.

Generally speaking, I would recommend that these are only applied inside preformatted blocks, since they are formatting instructions, and the client provides settings to disable them.

Original Post

=> ๐ŸŒ’ s/Gemini

Can't find in Gemini specification something about terminal emulation feature, that is client-side improvisation? [https link]

=> ๐Ÿ’ฌ ps ยท 4 comments ยท 1 like ยท 2024-12-04 ยท 8 weeks ago

Proxy Information
Original URL
gemini://bbs.geminispace.org/u/stack/22457
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
34.085982 milliseconds
Gemini-to-HTML Time
0.376181 milliseconds

This content has been proxied by September (3851b).