From 0726b60a6e32760fbadd1cdd39362c9c7a0fd9cc Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Sun, 8 Apr 2018 17:29:30 -0400 Subject: file loading, switching, good! --- initrd/keys | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'initrd/keys') 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 -- cgit v1.2.3