nathan-cannon
Re:Show HN: React terminal renderer, cell level diff, no alt screen
on Wednesday March 25, 2026 @02:50PM (#47521570)
You're right, and it's the main gap right now. We test against xterm-headless with thousands of property-based test iterations, but that's one terminal. I've been developing against a handful of others (Windows Terminal, Mac's Terminal, Ghostty) and real terminals disagree on more than you'd expect. Cross-terminal conformance testing is what I'm focused on next.
Show HN: React isn't the terminal UI bottleneck, the output pipeline is
Anthropic rewrote Claude Code's terminal renderer and found that React wasn't the problem. Ink's line-level rewriting was. I built their approach into a standalone library.CellState uses a custom React reconciler that renders directly to a cell grid and diffs frame-by-frame at the cell level. You keep native terminal behavior (scrolling, text selection, Cmd+F) because it runs inline instead of...