diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2023-03-25 12:44:19 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2023-03-25 12:44:19 -0700 |
commit | eba85af0e3084b75d11ac0a034abc5e80e33deb6 (patch) | |
tree | b914992ffe72f328a8aff2b905f50f5a5565e8a2 | |
parent | 1bd2846ec2d937e380e6456b359066c488832fdc (diff) | |
parent | afadb4db66b029869aa7184b9e35fe73a4344cba (diff) | |
download | text.love-eba85af0e3084b75d11ac0a034abc5e80e33deb6.tar.gz |
Merge lines.love
-rw-r--r-- | run.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/run.lua b/run.lua index 139f814..d5b588a 100644 --- a/run.lua +++ b/run.lua @@ -122,7 +122,8 @@ function run.file_drop(file) Editor_state.lines = load_from_file(file) file:close() Text.redraw_all(Editor_state) - edit.check_locs(Editor_state) + Editor_state.screen_top1 = {line=1, pos=1} + Editor_state.cursor1 = {line=1, pos=1} |