make sure to save right when quitting

I just noticed a few characters missing from one of my notes.
This commit is contained in:
Kartik K. Agaram 2022-06-18 16:25:20 -07:00
parent c15ee0b4a0
commit 2a26a260bb
1 changed files with 5 additions and 0 deletions

View File

@ -317,6 +317,11 @@ function schedule_save()
end
end
-- make sure to save before quitting
function love.quit()
save_to_disk(Lines, Filename)
end
function App.mousepressed(x,y, mouse_button)
if Search_term then return end
propagate_to_button_handlers(x,y, mouse_button)