rdev breaks the app on key press #7839
-
I read this discussion but my problem is different. #7752 I am using MacOS and rdev 0.5.3, trying to listen to key press events. If I run the listen function in If I run the listener without async runtime, which will block setup function, the listener works for key presses and won't exit, but the tauri app is not usable as setup() never finishes. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
I tried the same code on windows and Ubuntu 20.04, everything works fine. I also tried the code in a fresh MacOS VM but it quits whenever a key is pressed. Pretty sure it's some problem only on Mac. |
Beta Was this translation helpful? Give feedback.
-
I have the same problem 😣,have you solved it? |
Beta Was this translation helpful? Give feedback.
-
Same problem here, macos and rdev too |
Beta Was this translation helpful? Give feedback.
-
Same issue in macOS Sonoma. I found that rustdesk use this repo to solve it, and it can work. |
Beta Was this translation helpful? Give feedback.
@helbing Thanks!
I tried this it works on Mac.
If I use a tag from https://github.com/fufesou/rdev/tags 0.3.6 (latest tag in 2020), it still fails. Make sure to use the git url directly.