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

Fixing the backspace issue in number inputs on Mac #303

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

whizsid
Copy link
Contributor

@whizsid whizsid commented Nov 17, 2024

Mac keyboards are using the ‘delete’ button as the backspace for text inputs. So the unicode character is \u{7f}. But in other platforms, it is \u{8}. iced_core::keyboard module is already handling it. So we can re-use that functionality for backspace.

Copy link
Collaborator

@genusistimelord genusistimelord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you.

@genusistimelord genusistimelord merged commit ca8e9a2 into iced-rs:main Nov 18, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants