logoalt Hacker News

replwoacauseyesterday at 8:38 PM5 repliesview on HN

Why the hell does it need to be so complex? People have been making TUIs for decades. Did we need a small game engine to run claude code?


Replies

imjonseyesterday at 8:58 PM

They forgot to add 'make it as simple as possible' in the prompt is one possible cause.

On a more serious note using a react-like lib for TUI in the hope you'll share the codebase with the web version is a more likely explanation. Still not the best idea.

show 1 reply
comexyesterday at 10:26 PM

It doesn’t need to be that complex, but it can be that complex without being slow. Claude Code’s interface is extremely simple. It has tons and tons of headroom to tack on performance overhead without it being noticeable at all. You just have to not do dumb things like redraw the entire UI every time a spinner spins.

show 2 replies
shepherdjerredtoday at 1:40 AM

It is an excellent example of how LLMs let you try new ideas, even if they aren’t necessarily good ones

Quekid5yesterday at 8:57 PM

Must have 120 fps for answers arriving in [buffering] 30 seconds.

wyreyesterday at 9:34 PM

I can't help but think it's their engineer's and PM's making these decisions, since I know that if you asked Claude to write a TUI there is no world it would recommend whatever the frontend architecture of claude code is.