about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2024-02-04 17:19:39 -0800
committerKartik K. Agaram <vc@akkartik.com>2024-02-04 17:19:39 -0800
commit1dbd734abb757c924d2f72b5eaa6663712962035 (patch)
tree05619b930b33ad0649c8f2c362c66a9a2ad898e4
parent95be13f9db4c79ffd255ed70a9bce0ba09ca93dd (diff)
downloadlines.love-1dbd734abb757c924d2f72b5eaa6663712962035.tar.gz
fix yet another place
-rw-r--r--source_edit.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/source_edit.lua b/source_edit.lua
index e2f9bd0..19b754d 100644
--- a/source_edit.lua
+++ b/source_edit.lua
@@ -588,9 +588,9 @@ function edit.run_after_text_input(State, t)
 end
 
 -- not all keys are text_input
-function edit.run_after_keychord(State, chord)
-  edit.keychord_press(State, chord)
-  edit.key_release(State, chord)
+function edit.run_after_keychord(State, chord, key)
+  edit.keychord_press(State, chord, key)
+  edit.key_release(State, key)
   App.screen.contents = {}
   edit.update(State, 0)
   edit.draw(State)