Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.267 ·

Box key props are validated for uniqueness and stripped before final render

Terminal UI Box components now validate key props for uniqueness and strip them before rendering

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaPlugin UIwhat it touches
KindInternal Changesin v2.1.267,
Under the hood

Terminal UI Box components now validate key props for uniqueness and strip them before rendering

What

In the terminal interface's internal layout system, Box elements can carry a key prop, similar to how React list items use keys. Claude Code now checks that each key is a short string (between 1 and a fixed maximum length) with no control characters, and warns if the same key is used twice under the same parent. If it is duplicated, only the first instance is treated as a valid hover target. After the key has been used to wire up hover behavior, it's now removed from the internal tree before final rendering.

Why

This is internal plumbing that guards against subtle rendering bugs from malformed or duplicate keys in the terminal UI, and keeps the key prop from leaking into what actually gets drawn on screen.

See this entry in the whole of v2.1.267 →