diff options
author | sanine <sanine.not@pm.me> | 2023-03-12 21:27:37 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2023-03-12 21:27:37 -0500 |
commit | bb8c38bffba86cda05e0e8e9b52fb68301286b53 (patch) | |
tree | ea2bc46a22ffe6807ffbeae32f4124de357ff4f7 /main.lua |
initial commit
Diffstat (limited to 'main.lua')
-rw-r--r-- | main.lua | 10 |
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 |