Comment by ๐ต jmcs
Re: "Ansi reasonably supported, WIP?"
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
2024-12-18 ยท 1 year ago
1 Later Comment
๐ต 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
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...