about summary refs log tree commit diff stats
path: root/source.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-09-17 20:37:40 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-09-17 20:37:40 -0700
commit72791d9c35be82043a2f272a8cdeb11bd676a313 (patch)
treea030774c669ac3b88055b9dfe073f023d78b83d1 /source.lua
parent0cc8c706ffc4da107df402e3eac977aefb75f6dc (diff)
downloadview.love-72791d9c35be82043a2f272a8cdeb11bd676a313.tar.gz
some debug prints
I'm starting to edit the sources from within the app in ernest. First
question: why does the file navigation menu skip some files? These
prints answer the question.
Diffstat (limited to 'source.lua')
-rw-r--r--source.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/source.lua b/source.lua
index c752604..70b0814 100644
--- a/source.lua
+++ b/source.lua
@@ -11,6 +11,7 @@ function source.initialize_globals()
   Show_file_navigator = false
   File_navigation = {
     candidates = {
+      'main',
       'run',
       'run_tests',
       'log',
@@ -56,6 +57,7 @@ end
 
 -- called only for real run
 function source.initialize()
+  log_new('source')
   love.keyboard.setTextInput(true)  -- bring up keyboard on touch screen
   love.keyboard.setKeyRepeat(true)