fix GetKey function #10

Merged
Egor00f merged 1 commits from fix-GetKe-function into main 2025-04-25 20:37:34 +02:00

View File

@@ -505,7 +505,7 @@ static int syscalls_getKey(lua_State* L)
{ {
char s[2]; char s[2];
s[0] = a.code; s[0] = a.code;
s[1] = '\n'; s[1] = '\0';
lua_pushstring(L, s); lua_pushstring(L, s);
} }
else else