diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-08-19 17:05:41 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-08-19 17:05:41 -0700 |
commit | 13f67fa851acdba4563d0dca24701c5f97a6a55f (patch) | |
tree | 6d2f4fc01284104d3713b5acbca8cb43a00906a0 /main.lua | |
parent | cbd8f678d226170047405982e94751eeb71cc696 (diff) | |
download | text.love-13f67fa851acdba4563d0dca24701c5f97a6a55f.tar.gz |
regression: dropping files on the window
Also improve the test to catch this next time.
Diffstat (limited to 'main.lua')
-rw-r--r-- | main.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main.lua b/main.lua index de75045..64d0584 100644 --- a/main.lua +++ b/main.lua @@ -127,6 +127,7 @@ function App.filedropped(file) file:open('r') Editor_state.lines = load_from_file(file) file:close() + Text.redraw_all(Editor_state) edit.fixup_cursor(Editor_state) love.window.setTitle('lines.love - '..Editor_state.filename) end |