summaryrefslogtreecommitdiff
path: root/src/objects.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/objects.nim')
-rw-r--r--src/objects.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objects.nim b/src/objects.nim
index ed83fa8..1c8ed35 100644
--- a/src/objects.nim
+++ b/src/objects.nim
@@ -23,7 +23,7 @@ type
focused*: int
keys*: Table[cuint, objects.Key]
-proc initKey* (keyfunc: KeyFunc, mods: cuint, key: string, command = ""): Key =
+proc key* (mods: cuint, key: string, keyfunc: KeyFunc, command = ""): Key =
return Key(
mods: mods,
key: key,