about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-05-17 18:58:42 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-05-17 18:58:42 -0700
commit359056eb7ebbac2091e222041faac08dc4bdc98e (patch)
tree5257685572572803db7c6eb893d83901ce04a5b0
parent12681b63075cfa0b909e5f815a63c5c7383b48a6 (diff)
downloadlines.love-359056eb7ebbac2091e222041faac08dc4bdc98e.tar.gz
bugfix typo
-rw-r--r--main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.lua b/main.lua
index b04e539..9a37680 100644
--- a/main.lua
+++ b/main.lua
@@ -578,7 +578,7 @@ function keychord_pressed(chord)
         cursor_line = cursor_line-1
         cursor_pos = nearest_cursor_pos(lines[cursor_line].data, old_x, cursor_pos)
       else
-        cursor_line = cursor_line+1
+        cursor_line = cursor_line-1
       end
     end
   elseif chord == 'down' then