Skip to content
This repository has been archived by the owner on Dec 2, 2019. It is now read-only.

Fix backspace key handling on the SFML OpenGL2 platform demo #932

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bharadwaj-raju
Copy link

Previously, backspace characters would be passed directly to nk_input_unicode, resulting in backspace not working and instead simply inserting ASCII backspace '\b' into the text.
This fixes it by filtering out '\b' (ASCII code 8) in the event handler. Now backspace works as expected.

Previously, backspace characters would be passed directly to nk_input_unicode, resulting in backspace not working and instead simply inserting ASCII backspace '\b' into the text.
This fixes it by filtering out '\b' in the event handler.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant