Set CLAUDE_CODE_DEBUG_REPAINTS to capture which components trigger terminal redraws.
What's wrong with this entry?
The terminal renderer reads CLAUDE_CODE_DEBUG_REPAINTS and only captures per-component debug ownership information when it is set, so normal sessions skip that work. Layout caches also moved onto the nodes themselves.
- Root render nodes are now created with an explicit layout engine config.
- New per-node fields
cachedLayout,pendingClearsandscrollCommitStartedAtreplace a separate side map.
CLAUDE_CODE_DEBUG_REPAINTS
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.232
Session logs get a place in the managed storage layer
Both mention debug
-
v2.1.247
Renaming a session warns when other sessions may keep the old name
Both mention debug