Join Nostr
2024-09-16 22:42:15 UTC

B'Wera Tension on Nostr: beautiful... and monstrous. so i took last 2 weeks to rewrite the entire #tui ...

beautiful... and monstrous.

so i took last 2 weeks to rewrite the entire #tui rendering engine for my proto-#daw to (1) be generic over rendering backend and (2) support functional/declarative definitions of components.

i had previously split the pictured code into 5 struct impls just to be able to manage it. now it fits quite nicely in a single method

only problem is it looks like line noise - i don't need all these `move|add|{`, `&`, `?`, `Ok(())`, `\n}`... but the #rustlang compiler does