about summary refs log tree commit diff stats
path: root/keychord.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-06-26 17:07:27 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-06-26 17:07:27 -0700
commit83ba9e61d1ff0d03dae2b62e4c85e0f11e31743f (patch)
tree994b1812e19728ffa46926f77a372466eea3d276 /keychord.lua
parent44fb3ecd55a7b0cd45b604d5431811e0852a4714 (diff)
downloadlines.love-83ba9e61d1ff0d03dae2b62e4c85e0f11e31743f.tar.gz
bugfix: typing a capital letter deletes selection
Diffstat (limited to 'keychord.lua')
-rw-r--r--keychord.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/keychord.lua b/keychord.lua
index cc01241..ba0a47c 100644
--- a/keychord.lua
+++ b/keychord.lua
@@ -8,7 +8,7 @@ function App.keypressed(key, scancode, isrepeat)
     return
   end
   -- include the modifier(s) when the non-modifer is pressed
-  App.keychord_pressed(App.combine_modifiers(key))
+  App.keychord_pressed(App.combine_modifiers(key), key)
 end
 
 function App.combine_modifiers(key)