Skip to content
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

PollRawEvent and ParseRawEvent not implemented on Windows #165

Open
japanoise opened this issue Jul 12, 2017 · 2 comments
Open

PollRawEvent and ParseRawEvent not implemented on Windows #165

japanoise opened this issue Jul 12, 2017 · 2 comments

Comments

@japanoise
Copy link

>go get github.com/japanoise/gomacs 
# github.com/japanoise/termbox-util 
go\src\github.com\japanoise\termbox-util\input.go:18: undefined: termbox.PollRawEvent 
go\src\github.com\japanoise\termbox-util\input.go:19: undefined: termbox.ParseEvent
@nsf
Copy link
Owner

nsf commented Jul 12, 2017

That is true. Even when it will be there, I was thinking about naming it in a different way. To emphasize the fact that this API is not portable. I don't know when I'm going to implement it. On windows it's supposed to give access to https://msdn.microsoft.com/en-us/library/windows/desktop/ms683499(v=vs.85).aspx. Directly. Which is far from how it works on linux.

@japanoise
Copy link
Author

With this in mind, I've put a workaround in my code, since if this is implemented in a different enough way, it likely won't be what I want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants