about summary refs log tree commit diff stats
path: root/main.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-06-10 14:57:11 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-06-10 15:07:11 -0700
commit391d764e13d3703bc74895574f13d368e3559be1 (patch)
tree868229a255e69c195a5bbde41342585fec6f10a2 /main.lua
parente7787b979ffcb74a9278603ce4bce84f6abf77bf (diff)
downloadview.love-391d764e13d3703bc74895574f13d368e3559be1.tar.gz
stop handling nil screen_line_starting_pos everywhere
Things seem to be working..
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/main.lua b/main.lua
index eccdda6..15d095f 100644
--- a/main.lua
+++ b/main.lua
@@ -441,7 +441,6 @@ function App.keychord_pressed(chord)
     end
     App.draw()
     if Cursor_y >= App.screen.height - Line_height then
-      Text.populate_screen_line_starting_pos(Cursor1.line)
       Text.snap_cursor_to_bottom_of_screen()
     end
     save_to_disk(Lines, Filename)