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 ·

Pointer capture released when alt-screen is torn down or handed off

Mouse click capture is now cleaned up when the terminal's alternate screen is torn down or handed off

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.267,
You'll notice

Mouse click capture is now cleaned up when the terminal's alternate screen is torn down or handed off

What

Claude Code's terminal renderer uses an "alt screen" (a separate full-screen display terminals use for interactive apps). When that alt screen is handed off (handoffAltScreen()) or deactivated, Claude Code now calls endPointerCapture() and tellPressedNowhere() before resetting terminal modes and repainting.

Why

This cleans up any stuck mouse-press or pointer-capture state left over from the alt screen, preventing leftover mouse interaction state from carrying over incorrectly after the screen is torn down or handed off.

See this entry in the whole of v2.1.267 →