Comment by ☯️ dragfyre

Re: "Ansi reasonably supported, WIP?"

In: s/Deedum

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.

☯️ dragfyre

2024-12-18 · 1 year ago

2 Later Comments ↓

🎵 jmcs [OP/mod] · 2024-12-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] · 2024-12-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 😃

Original Post

🌒 s/Deedum

🎵 jmcs: [mod]

Ansi reasonably supported, WIP? — 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...

tablet screenshot

💬 3 comments · 1 like · 2024-12-17 · 1 year ago