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
fineboolean 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/cancelFinePointerSettlehold-counting,syncMousePixels, andmouseReportsInPixels, turns the terminal'smousePixelsmode 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
mousePixelsmode is reasserted on redraw alongside the existingextendedKeysand mouse modes. - New regexes and a
MOUSE_SGR_PIXELSconstant parse the SGR-Pixels escape sequences and convert pixel offsets into row/column plus thefinepayload.
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.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
What behavior actually differs between fine and coarse pointer input is not stated in the finding.