Commit: fe79be9321d5c98f36557d1af629b5fb037b6fae
Parent: 5f078f373a3d414002d58ea70a9d21c82154c265
Author: Randy Palamar
Date: Fri, 16 Aug 2024 06:04:47 -0600
escape key shouldn't close the window anymore
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/vtgl.c b/vtgl.c
@@ -333,10 +333,6 @@ key_callback(GLFWwindow *win, i32 key, i32 sc, i32 act, i32 mods)
}
switch (ENCODE_KEY(act, 0, key)) {
- case ENCODE_KEY(GLFW_PRESS, 0, GLFW_KEY_ESCAPE):
- case ENCODE_KEY(GLFW_REPEAT, 0, GLFW_KEY_ESCAPE):
- glfwSetWindowShouldClose(win, GL_TRUE);
- break;
case ENCODE_KEY(GLFW_PRESS, 0, GLFW_KEY_TAB):
case ENCODE_KEY(GLFW_REPEAT, 0, GLFW_KEY_TAB):
os_child_put_char(t->child, '\t');