atleg is a zig library (with c & c++ bindings planned) offering a simple, low-level and allocation free abstraction for creating TUI programs. atleg takes care of wrangling the terminal, but unlike other TUI libraries it does not get in the way when you want to render the interface.
The text attribute code can be used independently, so atleg is also useful for non-TUI terminal programs that still want fancy text.
Despite being a modern library written in a modern language, atleg will always be held back by the countless legacy interfaces and hacks it tries to abstract away from you. This is inevitable.