vurtun / nuklear

A single-header ANSI C gui library
13.7k stars 1.11k forks source link

Backspace and arrow keys do not repeat anymore? #548

Open megagrump opened 7 years ago

megagrump commented 7 years ago

I'm using nuklear with love-nuklear, and backspace and arrow keys stopped having key repeat after I updated to the latest nuklear code. It worked before though.

Only tested it with love-nuklear, but I'm quite confident it's not caused by love-nuklear.

MartinHerren commented 6 years ago

I can confirm that it doesn't work, it can be reproduced with example/extended.c, character keys are repeated when kept pressed, but not backspace nor arrow. Observed the same using nuklear_cross as well.

rswinkle commented 6 years ago

I just submitted a pull request "fixing" this issue if either of you want to try it. I tested it on glfw_opengl2, glfw_opengl3 and sdl_opengl3 but I actually couldn't test glfw_opengl4 because my GPU died a few months ago and I'm limited to Intel graphics with Mesa.

#765