about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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)