summaryrefslogtreecommitdiff
path: root/src/objects.nim
diff options
context:
space:
mode:
authorkitty piapiac <kcp@bsd.computer>2020-08-10 20:29:56 -0700
committerkitty piapiac <kcp@bsd.computer>2020-08-10 20:29:56 -0700
commit92baae67185f19c71c99134a06d5d42a43e83703 (patch)
tree4c402915dbad2ea38bd3fcbb65e5deef61102dba /src/objects.nim
parent1ff1a0f51255958e83ee7c3f17fd0be8c628fc51 (diff)
(。ヘ°) actually... fuck custom layouts
ill deal with them later
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,