about summary refs log tree commit diff stats
path: root/commands.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-09-17 23:21:02 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-09-17 23:27:20 -0700
commitc02a5ee1ff75eb80a828bcac5f73d131994dce0a (patch)
tree470da677b41edf233a1d0564c935de65918c1e01 /commands.lua
parente3f9908d136e752c183d745fad0d11d3769aecd8 (diff)
downloadtext.love-c02a5ee1ff75eb80a828bcac5f73d131994dce0a.tar.gz
delete some logs
One open question is how to manage logs while drawing, since they can be
extremely verbose. Neither tags nor depths seem like the right metaphor
here, and that gives me pause that I perhaps don't see the full space of
needs yet.
Diffstat (limited to 'commands.lua')
-rw-r--r--commands.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/commands.lua b/commands.lua
index 12189ba..ab8184f 100644
--- a/commands.lua
+++ b/commands.lua
@@ -53,19 +53,16 @@ function add_hotkey_to_menu(s)
 end
 
 function source.draw_file_navigator()
-  log_start('render file navigator')
   for i,file in ipairs(File_navigation.candidates) do
     if file == 'source' then
       App.color(Menu_border_color)
       love.graphics.line(Menu_cursor-10,2, Menu_cursor-10,Menu_status_bar_height-2)
     end
-    log(2, file)
     add_file_to_menu(file, i == File_navigation.index)
     if Menu_cursor >= App.screen.width - 5 then
       break
     end
   end
-  log_end('render file navigator')
 end
 
 function add_file_to_menu(s, cursor_highlight)