-
Notifications
You must be signed in to change notification settings - Fork 583
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
windows: add console input api #227
base: master
Are you sure you want to change the base?
Conversation
This adds multiple functions to read, count, and discard console input events. Using `ReadConsoleInput` instead of `ReadConsole` or `ReadFile` is necessary to capture extended events such as window resize, focus, and extended key and mouse events. This also define console event types and structs.
This PR (HEAD: 1ba63fc) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/sys/+/621515. Important tips:
|
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/621515. |
Message from Ayman Bagabas: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/621515. |
This PR (HEAD: 2f88dfd) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/sys/+/621515. Important tips:
|
This adds multiple functions to read, count, and discard console input events. Using
ReadConsoleInput
instead ofReadConsole
orReadFile
is necessary to capture extended events such as window resize, focus, and extended key and mouse events.This also define console event types and structs.