Closed pinpox closed 2 years ago
Thanks!
On Sat, Sep 5, 2020, 7:09 PM Pablo Ovelleiro Corral < notifications@github.com> wrote:
Hi, just a quick hint: The example in the REAME.md does not work.
The import should probably be:
hook "github.com/robotn/gohook"
instead of just:
"github.com/robotn/gohook"
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/robotn/gohook/issues/22, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACY42HOOV63SJEJJWOV4HLLSEI3U5ANCNFSM4Q24XGYQ .
Closed because of new version and time long.
Hi, just a quick hint: The example in the
README.md
does not work.The import should probably be:
instead of just:
EDIT: I just saw there is a
examples/main.go
file, with the correct code, but I can't get it to work as expected. Could you help me out? I modified it like this (just to add more visible output):The application runs, but whatever I do or press, I can't manage to print out the
wwwwwwwwwwwwwwwwwwwwwwww
string. What is supposed to happen? Also,ctrl
+shift
+q
isn't doing anything either. Here is my output as I pressw
a few times, then random other keys and lastlyctrl
+shift
+q
andctrl+c
to quit: