-
Notifications
You must be signed in to change notification settings - Fork 434
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
get_typed_strings allow_backspace doesn't work on OSX #149
Comments
Thanks for the bug report. This one is tricky because "delete" means a different key in Windows/Linux (erase next character, not previous). The correct "solution" (read hack) would be to set the backspace key name depending on the platform. |
I think I've fixed it with a4d831b, but it's still hacky. But again, Feedback appreciated. |
Looks good! |
Excellent. I will close the issue, but feel free to comment if you have any other findings, and I'll reopen it if needed. Thank you for your report! |
In lastest version still got this problem |
The OSX key for backspace is listed as delete when checking the event name. Modifying the get_typed_strings function to
(event.name == 'backspace' or event.name == 'delete')
in line 990 of __init__.py solves the issue but there may be a more elegant solution.The text was updated successfully, but these errors were encountered: