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:
2026-10-01 09:58:10 +02:00
co-authored by Claude Sonnet 5.5
parent ebc113ee07
commit 56385c7ad8
4 changed files with 22 additions and 3 deletions
+2
View File
@@ -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)
+1 -1
View File
@@ -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