• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / revdiff / 25685448594
90%
master: 90%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.6.1
DEFAULT BRANCH: master
Ran 11 May 2026 05:14PM UTC
Jobs 1
Files 69
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 May 2026 05:13PM UTC coverage: 89.764% (+0.06%) from 89.703%
25685448594

Pull #180

github

umputun
fix(wheel): skip redundant render in flushWheelPending when cursor stays in view

Copilot review on #180 caught that flushWheelPending unconditionally re-renders even when pinDiffCursorTo returns false (cursor stayed visible through the burst). In that case the existing viewport content already has the correct cursor highlight, so SetContent(renderDiff()) is wasted work — and on the handleKey path it double-renders because the key handler will also render after its action runs.

Gate syncTOCActiveSection + SetContent on the pin's bool return. Always clear renderPending and tickInFlight either way. Also dropped a redundant tickInFlight=false in handleWheelDebounce — flushWheelPending already clears it.

New test TestModel_HandleMouse_WheelDebounceMsg_SkipsRenderWhenCursorStaysInView locks in the contract: a flush with cursor still in view must not change viewport.View().
Pull Request #180: fix: coalesce diff-pane wheel events to unblock reverse scroll (#179)

61 of 62 new or added lines in 3 files covered. (98.39%)

1 existing line in 1 file now uncovered.

9752 of 10864 relevant lines covered (89.76%)

3193.43 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
92.34
1.06% app/ui/mouse.go

Coverage Regressions

Lines Coverage ∆ File
1
92.34
1.06% app/ui/mouse.go
Jobs
ID Job ID Ran Files Coverage
1 25685448594.1 11 May 2026 05:14PM UTC 69
89.76
GitHub Action Run
Source Files on build 25685448594
  • Tree
  • List 69
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #180
  • PR Base - master (#25653219672)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc