Compare commits

...

2 Commits

Author SHA1 Message Date
Nguyễn Trường Hưng (Harlow Nylvesky)
02d9cdf100
Merge 0b0a45e077 into e7ea71be03 2025-01-19 07:30:37 +00:00
nthung-2k5
0b0a45e077
Add support for receiving control characters 2023-07-24 09:01:12 +07:00

View File

@ -312,7 +312,7 @@ void _glfwInputChar(_GLFWwindow* window, uint32_t codepoint, int mods, GLFWbool
assert(mods == (mods & GLFW_MOD_MASK));
assert(plain == GLFW_TRUE || plain == GLFW_FALSE);
if (codepoint < 32 || (codepoint > 126 && codepoint < 160))
if (codepoint > 126 && codepoint < 160)
return;
if (!window->lockKeyMods)