summaryrefslogtreecommitdiff
path: root/main.lua
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2023-03-12 21:27:37 -0500
committersanine <sanine.not@pm.me>2023-03-12 21:27:37 -0500
commitbb8c38bffba86cda05e0e8e9b52fb68301286b53 (patch)
treeea2bc46a22ffe6807ffbeae32f4124de357ff4f7 /main.lua
initial commit
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/main.lua b/main.lua
new file mode 100644
index 0000000..991e8d1
--- /dev/null
+++ b/main.lua
@@ -0,0 +1,10 @@
+require 'honey.std'
+
+
+honey.glfw.Init()
+local window = honey.Window(640, 480, "geometry")
+
+while not window:shouldClose() do
+ print(window:getSize())
+ honey.glfw.PollEvents()
+end