perf(web): dedupe terminal mouse motion reports - #7845
Merged
Merged
MacroscopeApp / Macroscope - Correctness Check
succeeded
Aug 21, 2026 in 52s
No issues identified (6 code objects reviewed).
• Merge Base:
c3e3709
• Head:9782d0f
Details
| ✅ | File Path | Comments Posted | Reason |
|---|---|---|---|
| ➖ | apps/web/src/terminal/ghostty/surface.test.ts |
Excluded by default ignore patterns | |
| ✅ | apps/web/src/terminal/ghostty/surface.ts |
0 |
Filtered Issues Details
apps/web/src/terminal/ghostty/surface.ts
- line 741:
writeonly compares the DEC 1003 state before and after the entiredatachunk. If one chunk disables and then re-enables DEC 1003 (so the final boolean equals the cached value),synchronizeMouseTrackingState()leaveslastMouseMotionDataintact. The first motion in the new tracking session is then dropped when it encodes identically to the previous session's last packet, so the terminal application can miss a legitimate mouse event. The baseline must be invalidated when either transition occurs, not only when the final state differs. [ Already posted ]
Loading