about summary refs log tree commit diff stats
path: root/main.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-06-17 22:24:46 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-06-17 22:24:46 -0700
commit1ecc3f43e5949596ccb1bf9e2c9ad143d779deb1 (patch)
treecb80ff8533010b32d27ebbd4c96c549ac8639a79 /main.lua
parentb8e8ac248178dba3c60e5c164a04054937aa6d29 (diff)
downloadlines.love-1ecc3f43e5949596ccb1bf9e2c9ad143d779deb1.tar.gz
drop last couple of manual tests
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.lua b/main.lua
index ffe6838..b5a3e6b 100644
--- a/main.lua
+++ b/main.lua
@@ -12,6 +12,8 @@ local geom = require 'geom'
 require 'help'
 require 'icons'
 
+require 'main_tests'
+
 -- run in both tests and a real run
 function App.initialize_globals()
 -- a line is either text or a drawing
@@ -167,7 +169,7 @@ function parse_geometry_spec(geometry_spec)
   return true
 end
 
-function love.resize(w, h)
+function App.resize(w, h)
 --?   print(("Window resized to width: %d and height: %d."):format(w, h))
   App.screen.width, App.screen.height = w, h
   Line_width = math.min(40*App.width(Em), App.screen.width-50)