Comment by slopinthebag
8 days ago
You’ve been writing code for 24 years and you don’t know that clickable links are a terminal emulator feature and not a Claude Code feature? Or that “markdown formatting” is just ansi escape codes, and possible with things other than React that don’t bring so many downsides?
Correctly emitting the right escape codes at the right positions is arguably very much a Claude Code "feature", as it is on CC to do so.
Claude Code is able to hyperlink any kind of text, not just the native terminal emulator feature of hyperlinking anything starting with https://...
And your "it's just ANSI escape codes" is the weirdest take on any kind of software.
Formatted hyperlinks are an escape code too. It has nothing to do with React.
Not sure why you’re trying to bring up experience as a justification for using React to render a tui and all the downsides that come with that.
It sounds like you completely missed the point I was making: that actually implementing such a highly dynamic TUI application normally requires a significant amount of state tracking and it is significantly easier to write such apps using a functional, descriptive UI framework instead of something like ncurses.
Take it from someone who, in those 24 years, has written UIs in jquery, react and ncurses (and yeah I've tried out Ink and it's great).
"all the downsides that come with that" yeah well, while you're stuck implementing your app in the Best Possible Library, millions of people are happy using claude code and it's crazy useful.
3 replies →