diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2024-02-04 09:30:48 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2024-02-04 09:30:48 -0800 |
commit | 1d1a829d5b1f89220ebb261d8d01f34652fcd7b2 (patch) | |
tree | e2bf48f385d4ee56a84d61f66dfbd8ef94536076 /edit.lua | |
parent | 95d88a8298142a996bf828734f7e986d2f99f9ab (diff) | |
download | text.love-1d1a829d5b1f89220ebb261d8d01f34652fcd7b2.tar.gz |
more carefully pass the 'key' arg around
Diffstat (limited to 'edit.lua')
-rw-r--r-- | edit.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/edit.lua b/edit.lua index ba6acda..70f3950 100644 --- a/edit.lua +++ b/edit.lua @@ -584,9 +584,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) |