return height of editor widget after drawing

This commit is contained in:
Kartik K. Agaram 2023-06-06 12:52:44 -07:00
parent 43114e2fa5
commit 96c056bd4c
1 changed files with 2 additions and 0 deletions

View File

@ -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)