danfragoso / thdwb

🌭 The hotdog web browser and browser engine 🌭
MIT License
1.13k stars 58 forks source link

Mustard - Fix input backspace removing two chars #5

Closed danfragoso closed 5 years ago

danfragoso commented 5 years ago

This bug seems to be a glfw bug, it apparently was fixed on glfw3.3 but the latest golang port is 3.2.

https://github.com/glfw/glfw/issues/747

I might try to do something with the pooling rate or do something more hacky, something like a "debounce"

danfragoso commented 5 years ago

glfw3.3 is right around the corner. I'll wait for a few more days to see if will be fixed on glfw3.3 https://github.com/go-gl/glfw/pull/256

danfragoso commented 5 years ago

Just figured out that the key event also was fired on keyUp. Fixed on commit 18cfeb8