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.271 ·

Terminal frame buffer switches from a global char cache to a per-cell width helper with precise ANSI slicing

Terminal screen redrawing now measures text width per cell instead of using a single shared cache

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

Terminal screen redrawing now measures text width per cell instead of using a single shared cache

What

The internal component that figures out what changed on screen between redraws (used to avoid repainting the whole terminal every time) no longer keeps one shared cache of character widths. Instead it now uses a dedicated per-cell width helper. When text needs to be trimmed to fit a visible width, it is now clipped using a shrinking loop with a precise ANSI-aware slicing function, rather than a single cut.

Why

This should make terminal redraws more accurate when trimming styled or wide characters (such as emoji or East Asian text) to fit the available width, reducing the chance of a redraw glitch.

See this entry in the whole of v2.1.271 →