Skip to content

Fastest and only macOS Dictation app with on-device STT and custom trained AI enhancement model. Windows, iOS testflight! Android, Linux waitlist open! A local Wispr Flow alternative. Follow https://x.com/fluidvoiceapp for more

Merge branch 'main' into b/bugfix_1.5.5

ALTICd33ba998327c
diff --cc Sources/Fluid/Services/GlobalHotkeyManager.swift
index eb4f5e83,69bfdcbb..9612e645
--- a/Sources/Fluid/Services/GlobalHotkeyManager.swift
+++ b/Sources/Fluid/Services/GlobalHotkeyManager.swift
@@@ -262,18 -249,11 +262,23 @@@ final class GlobalHotkeyManager: NSObje
switch type {
case .keyDown:
+ // If a modifier-only shortcut key is being held and this is a different key, mark it
+ if self.modifierOnlyKeyDown {
+ self.otherKeyPressedDuringModifier = true
+ // Cancel any pending hold mode start (user is doing a key combo, not just modifier)
+ if let pending = self.pendingHoldModeStart {
+ pending.cancel()
+ self.pendingHoldModeStart = nil
+ self.pendingHoldModeType = nil
+ DebugLogger.shared.info("Another key pressed - cancelled pending hold mode start", source: "GlobalHotkeyManager")
+ }
+ }
+
+ // Observe post-transcription edits (do not consume the event).
+ Task {
+ await PostTranscriptionEditTracker.shared.handleKeyDown(keyCode: keyCode, modifiers: eventModifiers)
+ }
+
// Check Escape key first (keyCode 53) - cancels recording and closes mode views
if keyCode == 53, eventModifiers.isEmpty {
var handled = false