From 1a55ea2d22436359f8e11061e203cf9e8849a114 Mon Sep 17 00:00:00 2001 From: sanine-a Date: Sun, 25 Oct 2020 10:51:13 -0500 Subject: add honey_exit --- demo/main.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'demo') 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) -- cgit v1.2.1