about summary refs log tree commit diff stats
path: root/source_edit.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2024-02-04 17:39:15 -0800
committerKartik K. Agaram <vc@akkartik.com>2024-02-04 17:39:15 -0800
commitd27c03373ccf10e3f0ee7b4e613099062062036e (patch)
treef7637d1f58e53005265af33a581297fb960082fb /source_edit.lua
parentdedb843535f3a4fc1a1f9f71100c80fc1e5d87e4 (diff)
parent77e1b57446cdaae1853896d78f0dece6ee7a94cb (diff)
downloadview.love-d27c03373ccf10e3f0ee7b4e613099062062036e.tar.gz
Merge text.love
Diffstat (limited to 'source_edit.lua')
-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)