Loom

A blog engine that just works. One binary, no setup, no dependencies.

Posts tagged “tui” (2)

How I Ported Claude Code's Rendering Engine to Modern C++Mar 03 6.0K

I decompiled Claude Code's binary, reverse-engineered its terminal rendering pipeline, and rebuilt the whole thing in C++23. This is the story of what I found inside — and how to build a flicker-free, 60fps terminal UI from scratch.

--c++23 --terminal-rendering --reverse-engineering --tui --claude-code --ansi
The Problem — Why Terminals Are BrokenMar 03 7.2K

Two threads. One stdout. Total corruption. This is the bug that sent me reverse-engineering Claude Code's binary — and the fundamental reason every serious TUI needs a rendering engine.

--c++23 --terminal --tui --ansi-escape --race-condition --claude-code