aboutsummaryrefslogtreecommitdiffstats
path: root/initrd/keys
diff options
context:
space:
mode:
Diffstat (limited to 'initrd/keys')
-rw-r--r--initrd/keys11
1 files changed, 6 insertions, 5 deletions
diff --git a/initrd/keys b/initrd/keys
index 47dbae1..b5b4dfc 100644
--- a/initrd/keys
+++ b/initrd/keys
@@ -1,8 +1,9 @@
-do
- getkey > input
- print input
- delay 1000
-while (1)
+while (1) {
+ input = getkey()
+ print(input)
+ print("\n")
+ delay(1000)
+}
#do
# getkey > input