aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/world/input/keyboard.lux
diff options
context:
space:
mode:
authorEduardo Julian2022-06-12 00:38:20 -0400
committerEduardo Julian2022-06-12 00:38:20 -0400
commitb48ea68a83d01903554c7696c77eedaaf1035680 (patch)
treec342d8094c3158de16526f874ca9624418cd2dd2 /stdlib/source/library/lux/world/input/keyboard.lux
parent7abf2d0ac55c229a8793bbff31f132596ffcb275 (diff)
De-sigil-ification: suffix : [Part 3]
Diffstat (limited to 'stdlib/source/library/lux/world/input/keyboard.lux')
-rw-r--r--stdlib/source/library/lux/world/input/keyboard.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/library/lux/world/input/keyboard.lux b/stdlib/source/library/lux/world/input/keyboard.lux
index 87aee8ece..79685c797 100644
--- a/stdlib/source/library/lux/world/input/keyboard.lux
+++ b/stdlib/source/library/lux/world/input/keyboard.lux
@@ -5,7 +5,7 @@
(type: .public Key
Nat)
-(template [<code> <name>]
+(with_template [<code> <name>]
[(def: .public <name> Key <code>)]
[00008 back_space]
@@ -102,7 +102,7 @@
[#pressed? Bit
#input Key]))
-(template [<bit> <name>]
+(with_template [<bit> <name>]
[(def: .public (<name> key)
(-> Key Press)
[#pressed? <bit>