summaryrefslogtreecommitdiff
path: root/demo/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'demo/main.lua')
-rw-r--r--demo/main.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/demo/main.lua b/demo/main.lua
index 26fabd9..46a9947 100644
--- a/demo/main.lua
+++ b/demo/main.lua
@@ -18,6 +18,7 @@ end
honey.window.set_title('honey engine demo')
honey.input.key.bind(honey.input.key.a, a_func)
+honey.input.key.bind(honey.input.key.escape, honey.exit)
honey.window.resize_bind(resize_func)
honey.input.mouse.set_mode( honey.input.mouse.mode.disabled )
honey.input.mouse.bind_movement(mousemove)