Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.271 ·

Terminal renderer always recomputes stale layout before drawing

The terminal UI now recalculates layout whenever it's marked stale, including on the very first resize, before drawing a frame

TierYou'll noticehow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaTerminal UIwhat it touches
KindBug Fixesin v2.1.271,
Group of 2 You'll notice

The terminal UI now recalculates layout whenever it's marked stale, including on the very first resize, before drawing a frame

What

The terminal renderer (built on the ink library) now makes sure layout is up to date before it paints a frame.

  • On each render, if the root UI node's layout is marked stale, the renderer either handles a resize (if the terminal size actually changed) or forces a synchronous layout recalculation before drawing.
  • Handling a terminal resize used to only trigger a re-render if a current node already existed; now, even before the first render has happened, a resize marks the root layout stale, recomputes layout, and schedules a render.

Why

Without this, the terminal UI could draw a frame using outdated layout dimensions, especially around the very first resize event, leading to visibly wrong sizing or positioning.

See this entry in the whole of v2.1.271 →

Feedback