BBS: TELESC.NET.BR Assunto: graphics.js limited to 16-color ANSI De: Codefenix Data: Wed, 22 Apr 2026 08:40:54 -0400 ----------------------------------------------------------- Re: graphics.js limited to 16-color ANSI By: Digital Man to Codefenix on Mon Apr 20 2026 12:54 pm DM> I don't know of any pending improvements to graphic.js, but it certainly DM> is like most things in Synchronet, up for change as wanted or needed. If DM> you feel like adding additional ANSI sequence support to graphic.js and DM> submitting a PR, it'd likely be merged into master. Yeah, I had a look, and it seems like quite the rabbit hole. :) I believe the ANS->MSG conversion that happens within would make this challenging, at least in my use case, since I don't think you can do 256 colors with CTRL-A codes (can you?). frame.js appears to have the same 16-color limitation as graphic.js upon initial glance. I think I'll back-burner this idea for now, and settle for detecting 256-color sequences, and if found, output using plain old console.printfile instead as a workaround. |08 |15 |07 |08 |11codefenix |08 |15 |07|08 |09ConstructiveChaos BBS |08 |15 |07|08 |01conchaos.synchro.net |08 |08 |07 --- Synchronet -=[ ConstructiveChaos BBS | conchaos.synchro.net ]=- ----------------------------------------------------------- [Voltar]