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

Store initial_text data in SoftwareKeyboard #158

Merged
merged 2 commits into from
Feb 16, 2024

Conversation

FenrirWolf
Copy link
Member

Turns out that libctru just keeps a pointer to the initial_text string, so we need to make sure it stays alive as long as it's needed.

This allows the user to clear the initial_text field by supplying a
`None`
@Meziu Meziu merged commit 4dbe83e into rust3ds:master Feb 16, 2024
4 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