nuklear icon indicating copy to clipboard operation
nuklear copied to clipboard

Fix backspace key handling on the SFML OpenGL2 platform demo

Open bharadwaj-raju opened this issue 5 years ago • 0 comments

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.

bharadwaj-raju avatar Oct 31 '19 14:10 bharadwaj-raju