about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--edit.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/edit.lua b/edit.lua
index e1a7fd5..442b986 100644
--- a/edit.lua
+++ b/edit.lua
@@ -138,6 +138,7 @@ function edit.put_cursor_on_first_text_line(State)
   end
 end
 
+-- return y drawn until
 function edit.draw(State)
   State.button_handlers = {}
   App.color(Text_color)
@@ -196,6 +197,7 @@ function edit.draw(State)
   if State.search_term then
     Text.draw_search_bar(State)
   end
+  return y
 end
 
 function edit.update(State, dt)