fix: mic permission check, Fn keycode filter, longer clipboard restore, error icon, TCC hint
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -56,6 +56,8 @@ public final class HotkeyMonitor {
|
||||
case .tapDisabledByTimeout, .tapDisabledByUserInput:
|
||||
if let tap { CGEvent.tapEnable(tap: tap, enable: true) }
|
||||
case .flagsChanged:
|
||||
// .maskSecondaryFn is also set while arrows/F-keys are held; only react to the Fn key itself.
|
||||
guard event.getIntegerValueField(.keyboardEventKeycode) == 63 else { return }
|
||||
let fnDown = event.flags.contains(.maskSecondaryFn)
|
||||
if let hotkeyEvent = tracker.process(fnDown: fnDown) {
|
||||
onEvent?(hotkeyEvent)
|
||||
|
||||
@@ -20,7 +20,7 @@ public struct TextInserter: TextInserting {
|
||||
public init(
|
||||
pasteboard: PasteboardProviding,
|
||||
paster: KeystrokePosting,
|
||||
restoreDelay: Duration = .milliseconds(150)
|
||||
restoreDelay: Duration = .milliseconds(400)
|
||||
) {
|
||||
self.pasteboard = pasteboard
|
||||
self.paster = paster
|
||||
|
||||
Reference in New Issue
Block a user