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

Terminal supports pixel-precision (fine) mouse tracking via SGR-Pixels mode

Claude Code's terminal UI can now detect and use pixel-precision mouse coordinates (SGR-Pixels mode 1016) instead of only character-cell precision

TierYou'll noticehow much it should matter to you
Useful3my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaTerminal Renderingwhat it touches
KindNew Featuresin v2.1.277,
Group of 5 You'll notice

Claude Code's terminal UI can now detect and use pixel-precision mouse coordinates (SGR-Pixels mode 1016) instead of only character-cell precision

What

  • Pointer handling for press, drag, release, and hover throughout the terminal renderer now threads a fine boolean alongside button/column/row, to distinguish precise trackpad input from coarse mouse clicks, along with a raw fractional position on mouse events.
  • The terminal capability prober now sends a DECRQM query for mode 1016 (SGR-pixel mouse coordinates) plus a cell-size query, so Claude Code can detect whether the terminal supports pixel-level mouse reporting.
  • New machinery, including retainFinePointer/cancelFinePointerSettle hold-counting, syncMousePixels, and mouseReportsInPixels, turns the terminal's mousePixels mode on and off as needed, with a "fine pointer settle" timer managed on mount and unmount.
  • New helpers translate mouse column/row into pixel-precise coordinates when supported, and the mousePixels mode is reasserted on redraw alongside the existing extendedKeys and mouse modes.
  • New regexes and a MOUSE_SGR_PIXELS constant parse the SGR-Pixels escape sequences and convert pixel offsets into row/column plus the fine payload.

Why

On terminals that support it, this lets interactive elements in Claude Code respond to precise trackpad or mouse positioning rather than only whole character cells, enabling finer-grained interactions.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhat behavior actually differs between fine and coarse pointer input is not stated in the finding.

See this entry in the whole of v2.1.277 →