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

SetExitKey(KEY_NULL); // Disable KEY_ESCAPE #287

Closed
unklnik opened this issue Oct 16, 2023 · 1 comment
Closed

SetExitKey(KEY_NULL); // Disable KEY_ESCAPE #287

unklnik opened this issue Oct 16, 2023 · 1 comment

Comments

@unklnik
Copy link
Contributor

unklnik commented Oct 16, 2023

Hi, just want to check, this is in one of the examples on the Raylib site that I am converting to Go. Anyway, there does not appear to be a KEY_NULL in the Go Bindings that I can find. Is there one? How would I go about adding one if there isn't?

Basically SetExitKey(KEY_NULL); allows you to do other things (create a window etc) before closing the program by setting the key to nothing.

@JupiterRider
Copy link
Contributor

@unklnik Thanks for reporting. I provided a pull request #288 to fix this "issue"

@unklnik unklnik closed this as completed Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants