💾 Archived View for bbs.geminispace.org › u › skyjake › 22463 captured on 2024-12-17 at 15:47:18. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
Re: "Can't find in Gemini specification something about terminal..."
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.
Dec 05 · 13 days ago
Can't find in Gemini specification something about terminal emulation feature, that is client-side improvisation? [https link]