Closed kryma-foulab closed 1 month ago
Couldn't do it today, but notes for when I get to:
Last updated:
to Updated at
I finally got the preview on my computer to render fonts the same size as on the actual foubot. Here's what the script (with small modification) looks when added
(the cmatrix window was added manually; we still don't have what's needed to automatically handle a 3rd window)
The space for the title is very limited, and with the way some foulab events are titled in the ICS it's mostly unusable. I'm thinking of ditching the whole centering code and just let the terminal wrap the event's title, kinda like so:
23 Jul 08:00 pm: Demonstration of
Resilient Infrastructure Through Open
Sessions (aka Infrastructure Night)
I can try it with the terminal's default line wrap mechanism, but it most likely will wrap weirdly, cutting words at weird locations. I wonder if there's existing implementations that can consider a max number of lines, or if it's easy to make one. Maybe a plain character limit on the title combined with a normal word-wrap algo is enough?
Got it working :tada:
Something like this