summaryrefslogtreecommitdiff
path: root/demo
diff options
context:
space:
mode:
authorsanine-a <sanine.not@pm.me>2020-10-25 10:51:13 -0500
committersanine-a <sanine.not@pm.me>2020-10-25 10:51:13 -0500
commit1a55ea2d22436359f8e11061e203cf9e8849a114 (patch)
tree4984cc1ded2473d313098cca31fa7401a745b2a9 /demo
parent6162a18f445b89400be521fdeeb0d6a812a03c35 (diff)
add honey_exit
Diffstat (limited to 'demo')
-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)