Skip to content

v0.8.1 — Terminal & free-spin fixes

Choose a tag to compare

@MinhQuang28 MinhQuang28 released this 15 Jul 08:35
· 34 commits to main since this release

Bug-fix release for scrolling in terminals and hard flywheel spins.

🐛 Fixes

Terminal garbage text (ESC[<65;…M spam)

Scrolling inside a TUI (vim, tmux, CLI tools) with mouse-reporting enabled could spill raw escape sequences onto the screen. Synthetic scroll events were leaving the legacy line-delta fields to be derived automatically, which made every animation frame (60–120/s) count as a whole wheel line — flooding the program. Line deltas are now accumulated explicitly (1 line ≈ 10 px, like a real trackpad): terminals see a sane wheel rate, no more garbage, and TUI scrolling speed is correct instead of ~10× too fast.

MX Master 3 free-spin stopping mid-page

A hard spin toward the top of a long page could halt abruptly half-way: input above the output speed ceiling was being dropped once the small pixel backlog filled. The backlog now holds a full flywheel spin (30,000 px) and keeps draining at ceiling speed, so the page reaches the top. Intentional stops are handled by grab detection instead: if the input stream ceases while a large backlog remains (you physically caught the wheel), the backlog collapses and the view stops with your hand — a naturally decaying flywheel never triggers it.

Cmd+scroll zoom on macOS 27+

The pinch synthesizer now has the same forward-compatibility gate as the Space-drag gesture (macOS 27 stops reading field-based gesture events); it falls back to Cmd+= / Cmd+− keystrokes there.

🧹 Internal

  • Scroll-model types renamed (MMF prefix dropped), ScrollMath.swift rename, test suite split cleanly.

Full Changelog: v0.8.0...v0.8.1