Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.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

Group of 5 You'll notice New Features
JSON All of v2.1.277
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Terminal RenderingArea: what it touches
New FeaturesKind: in v2.1.277,
New FeaturesSection of the release

Unclear What behavior actually differs between fine and coarse pointer input is not stated in the finding.

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 →

Feedback