Skip to content

armgit / Handy

Public Imported from GitHub
0

A free, open source, and extensible speech-to-text application that works completely offline.

use blocking for handy keys (#881)

CJ Pais0c8358899f05
diff --git a/src-tauri/src/shortcut/handy_keys.rs b/src-tauri/src/shortcut/handy_keys.rs
index 1cd0ce5c..3153d5e9 100644
--- a/src-tauri/src/shortcut/handy_keys.rs
+++ b/src-tauri/src/shortcut/handy_keys.rs
@@ -111,7 +111,7 @@ impl HandyKeysState {
info!("handy-keys manager thread started");
// Create the HotkeyManager in this thread
- let manager = match HotkeyManager::new() {
+ let manager = match HotkeyManager::new_with_blocking() {
Ok(m) => m,
Err(e) => {
error!("Failed to create HotkeyManager: {}", e);