After a bit more fiddling, I finally managed to add "Ansi color" support to Deedum in a way that doesn't change the current code too much and looks reasonably ok. Also included an entry in Settings to choose the "color mode" (based quite a bit on the options in Lagrange)
Also added multiline support for inputs, "full-width" for content, and a rudimentary "refresh" button (you'll see it on the screenshot, but code for that is in a different branch) since those things were bothering me a bit :D
The good news is that the code is compilable (with the right settings in Android Studio), and I even managed to build the apk and have it running in my old tablet.
The bad news is that I'm not really a developer, and most of this was new to me, so I'm sure there are better/cleaner ways to do these things. Oh well...
I have opened a pull request in the original Deedum github repo, but I'm not sure it's maintained or looked at very often...
If you are interested in testing it but can't get the code in github to build (or can't be bothered), get in contact and I'll see how to send you the apk. It's intentionally compiled for an old Android version, I don't quite know if modern versions would accept it. We'll see, once we see if someone is interested :D
PS: I'm posting this from Lagrange, since I wanted to include the screenshot and Deedum does not have suport for Titan. Maybe I'll look into that next :D
=> Posted in: s/Deedum | 🎵 jmcs [mod]
2024-12-17 · 6 weeks ago · 👍 dragfyre · ❤ 1
=> ☯️ dragfyre · Dec 18 at 00:46:
Nice!! I wouldn't mind testing it.
One little nitpick - the lowercase letters are supposed to be green and the garden frame is supposed to be brown, so the accuracy of the colours might need work.
=> 🎵 jmcs [OP/mod] · Dec 18 at 09:43:
That is interesting feedback :D
At first I started trying to decode by hand, and pretty soon gave up and went searching for a library. Since the results for wordo were practically identical to Lagrange's, I considered it good, and even thought Lagrange could be using just a subset of colors to match their "page theme" sorta thing (it chooses different fg/bg colors depending on what page you are seeing, it seems?)
But, yeah, in this case, the colors in the garden are preeeeety different. I'll have to take a look. Thanks for the tip!
=> — Issue on github to follow this up
=> 🎵 jmcs [OP/mod] · Dec 18 at 14:01:
yep, taking a look at the library's code, and the actual content of the garden's ansi code, it's quite clear that I'm gonna need a more capable parser. Hopefully I won't have to go as far as what @skyjake had to do for Lagrange. Got a headache just skimming those files 😃
text/gemini; charset=utf-8
This content has been proxied by September (3851b).