Hacker News new | ask | show | jobs
by 0x457 289 days ago
I think every abandoned TUI framework started with: "why is ratutui does things this way" and ended with "Oh, I get it now".

Problem is when we think UI frameworks we usually run in something that handles a lot of things for us: browser, xorg, wayland etc. You don't get in terminal, so a lot of times TUI frameworks result being a thin abstraction on top of a render-loop.

Then you can't slap something like MVC pattern on it because that isn't how terminal app works. The event handler pretty much has to be global, even if the framework provides some focus management capabilities.

I've tried using different languages and frameworks for thing that I'm working on and pretty much ready to comeback to ratatui.