about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-07-11 22:03:41 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-07-11 22:03:41 -0700
commite68d235c5fd455c6629f14b7219d376049c61481 (patch)
treec72dcc345b3009399be94fdb0b4f42f615b83399
parentd2d54db1f943b175130f6a42a08914f6c709b643 (diff)
downloadtext.love-e68d235c5fd455c6629f14b7219d376049c61481.tar.gz
.
-rw-r--r--main.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.lua b/main.lua
index c5da057..3cb822e 100644
--- a/main.lua
+++ b/main.lua
@@ -14,7 +14,7 @@ require 'icons'
 
 require 'main_tests'
 
--- run in both tests and a real run
+-- called both in tests and real run
 function App.initialize_globals()
 -- a line is either text or a drawing
 -- a text is a table with:
@@ -103,6 +103,7 @@ Cursor_time = 0
 
 end  -- App.initialize_globals
 
+-- called only for real run
 function App.initialize(arg)
   love.keyboard.setTextInput(true)  -- bring up keyboard on touch screen
   love.keyboard.setKeyRepeat(true)