v1.0.0-beta.2
Pre-releasev1.0.0-beta.2 - 2026-06-04
-
Fixed
-
Side mouse buttons (4/5) no longer double-trigger: the EventHandler now uses an active
CGEventTapinstead of a passiveNSEventglobal monitor, so the configured mic-mute button is fully intercepted (no more browser Back/Forward firing alongside the mic toggle). -
Middle-click paste no longer mis-fires on the thumb-back button: paste is restricted to the true middle button (
buttonNumber == 2) instead of the previous2 || 3check. -
No more double-paste in apps with their own middle-click paste (Terminal.app with the middle-click paste preference enabled, X11-aware apps): the middle-click event is now swallowed when
middleClickPasteis active, so only our paste fires (resolves #1). -
Added
-
Linux-style PRIMARY selection: selections are stored in an internal
primaryBufferwhile the system pasteboard is snapshotted and restored, so the regularCmd+Cclipboard is preserved across auto-copy events. Middle-click pastes fromprimaryBufferand restores the prior clipboard afterwards. -
Changed
-
Double-/triple-click detection switched from a manual time threshold to
CGEventField.mouseEventClickState, matching the OS click classifier. -
Heavy work (clipboard change-count polling, AppleScript mic toggle, paste restore) is dispatched off the tap callback to avoid macOS disabling the tap for running too long.