diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2018-04-08 17:29:30 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2018-04-08 17:29:30 -0400 |
commit | 0726b60a6e32760fbadd1cdd39362c9c7a0fd9cc (patch) | |
tree | 38d594dd9c259f13fc6d867da349cb96a8c25158 /initrd/keys | |
parent | 7eb572702ca012a89370cc94a297eeb346a8dee9 (diff) |
file loading, switching, good!
Diffstat (limited to 'initrd/keys')
-rw-r--r-- | initrd/keys | 11 |
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 |