News for hackers. Stuff that matters.
Re:strace-ui, Bonsai_term, and the TUI renaissance by jvanderbot on Tuesday June 02, 2026 @08:00AM (#48369095)
Yes, and of those, my impression is that there are niche ones that look OK, game engines that look great but take a lot of work, and then there's just TUIs, which look retrocool and run blazing fast, and are really easy to write.
Re:strace-ui, Bonsai_term, and the TUI renaissance by rbanffy on Tuesday June 02, 2026 @08:36AM (#48369435)
> and are really easy to write.

And, sometimes, all you want is to output text.

Re:strace-ui, Bonsai_term, and the TUI renaissance by breuleux on Tuesday June 02, 2026 @08:51AM (#48369585)
> and then there's just TUIs, which look retrocool and run blazing fast, and are really easy to write

I mean, I don't even think that's true. Many TUIs are bloated, dogshit slow, and it's not trivial to write complex TUIs without glitches or flickering. The more people start making TUIs because it's the current fad, the worse they will get.

Re:strace-ui, Bonsai_term, and the TUI renaissance by jvanderbot on Tuesday June 02, 2026 @10:01AM (#48370374)
You're probably right. TUIs (being old) have selection bias towards quality. However, my experience writing TUIs is that it's not even the same class of difficulty as writing GUIs. GUIs by any means have way more overhead and learning curve. Not to mention that a TUI is more likely to be immediately CLi compatible via adding a --no-tui flag, or CLI patchable via --tui.
Re:strace-ui, Bonsai_term, and the TUI renaissance by breuleux on Tuesday June 02, 2026 @05:05PM (#48376268)
I suppose. I think it depends on your tooling somewhat. I mean, looking at the feature article, Bonsai lets you define TUI elements with an HTML-inspired syntax -- so if you're using that, it's a similar difficulty as writing a web interface, minus starting a server, Electron, or styling stuff yourself. You can just stay in the terminal. That's nice! But if you don't have such facilities and you want something more elaborate than just sequentially printing information, TUIs can be a bit rough.
Re:strace-ui, Bonsai_term, and the TUI renaissance by jvanderbot on Tuesday June 02, 2026 @06:39PM (#48377295)
Ratatui is pretty great. Try it out.
Re:strace-ui, Bonsai_term, and the TUI renaissance by Narishma on Tuesday June 02, 2026 @02:14PM (#48373986)
Game engines are no different than web browsers for this use case.