Open antoinedelia opened 4 years ago
Looks like getchar()
might be preventing the return of ESC_KEY. https://github.com/Mckinsey666/bullet/blob/master/bullet/utils.py#L35
Even when tweaking the code to force the return of the ESC_KEY, it looks like the getchar()
function only triggers half of the time when using ESC_KEY. For other inputs, it works fine all the time.
Hey,
I tried implementing a keyboard event as seen in the check.py example.
I have something rather simple:
But upon pressing ESC, the code doesn't do anything. If I try to change
ESC_KEY
withBACK_SPACE_KEY
, then the code is working as intended.Do you know what could be the issue regarding this?
Thanks a lot.