aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjgmdev <jgmdev@gmail.com>2022-11-02 22:34:19 -0400
committerjgmdev <jgmdev@gmail.com>2022-11-02 22:34:37 -0400
commit4137cad6b7205fc599388e295c1ae0852be6b346 (patch)
tree43efa50f7e582f8f08ea445421353bdfc4930a65
parent94f7c8b33371e49d6f026f5be6a41acd73ad9c6b (diff)
downloadlite-xl-plugins-4137cad6b7205fc599388e295c1ae0852be6b346.tar.gz
lite-xl-plugins-4137cad6b7205fc599388e295c1ae0852be6b346.zip
macmodkeys: added missing params
-rw-r--r--plugins/macmodkeys.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/macmodkeys.lua b/plugins/macmodkeys.lua
index e4656b9..d8e1202 100644
--- a/plugins/macmodkeys.lua
+++ b/plugins/macmodkeys.lua
@@ -9,11 +9,11 @@ local function remap_key(k)
:gsub("option", "alt")
end
-function keymap.on_key_pressed(k)
- return on_key_pressed(remap_key(k))
+function keymap.on_key_pressed(k, ...)
+ return on_key_pressed(remap_key(k), ...)
end
-function keymap.on_key_released(k)
- return on_key_released(remap_key(k))
+function keymap.on_key_released(k, ...)
+ return on_key_released(remap_key(k), ...)
end