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-03 07:48:41 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-06-03 07:48:41 -0700
commit7301f3964c518858ba6e3ffc2404baee1734639b (patch)
tree41d9799f7bf69ee9c5b8e492e5858c0f1270e868 /main.lua
parent03499f7449e607e20bee81ba42213e39e308dfff (diff)
downloadtext.love-7301f3964c518858ba6e3ffc2404baee1734639b.tar.gz
up arrow to search previous
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.lua b/main.lua
index a00790d..584dde4 100644
--- a/main.lua
+++ b/main.lua
@@ -255,6 +255,8 @@ function App.keychord_pressed(chord)
     elseif chord == 'down' then
       Cursor1.pos = Cursor1.pos+1
       Text.search_next()
+    elseif chord == 'up' then
+      Text.search_previous()
     end
     return
   elseif chord == 'C-f' then