diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-07-12 16:23:28 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-07-12 16:23:28 -0700 |
commit | 93aca28cb3e86f2b65d7ae4d62f0ed695470c6fc (patch) | |
tree | 253b4e4c465c28b13dc8c0a0317e4e926de06c7c /edit.lua | |
parent | cb5524ec581447211269737d82bc67e3e120c396 (diff) | |
download | text.love-93aca28cb3e86f2b65d7ae4d62f0ed695470c6fc.tar.gz |
add state arg to Text.keychord_pressed
Diffstat (limited to 'edit.lua')
-rw-r--r-- | edit.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/edit.lua b/edit.lua index 0d2468f..6ca8eb1 100644 --- a/edit.lua +++ b/edit.lua @@ -434,7 +434,7 @@ function edit.keychord_pressed(State, chord, key) schedule_save() else for _,line in ipairs(State.lines) do line.y = nil end -- just in case we scroll - Text.keychord_pressed(chord) + Text.keychord_pressed(State, chord) end end |