about summary refs log tree commit diff stats
path: root/main.lua
diff options
context:
space:
mode:
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 ab692e7..702af42 100644
--- a/main.lua
+++ b/main.lua
@@ -133,11 +133,13 @@ function love.draw()
         y = y + Drawing.pixels(line.h) + 10 -- padding
       else
         line.y = y
-        Text.draw(line, line_index, Cursor_line, Cursor_pos)
+        y = Text.draw(line, 100, line_index, Cursor_line, Cursor_pos)
+--?         y = Text.draw(line, Drawing_width, line_index, Cursor_line, Cursor_pos)
         y = y + math.floor(15*Zoom)  -- text height
       end
     end
   end
+--?   os.exit(1)
 end
 
 function love.update(dt)