aboutsummaryrefslogtreecommitdiffstats
path: root/initrd/init
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2018-03-27 12:00:57 -0400
committerClyne Sullivan <clyne@bitgloo.com>2018-03-27 12:00:57 -0400
commitefd1e11475088284803f5db0f554f6ef2d0268f5 (patch)
tree1dc9cb84ed50bb19ab805f73a2ed8baefa02fb7f /initrd/init
parentb398f319c74d12f2d1641c1fc16dbd5e14bff0b4 (diff)
functional keypad, va_arg bug discovery
Diffstat (limited to 'initrd/init')
-rw-r--r--initrd/init12
1 files changed, 6 insertions, 6 deletions
diff --git a/initrd/init b/initrd/init
index 17eb48d..7359f16 100644
--- a/initrd/init
+++ b/initrd/init
@@ -1,8 +1,8 @@
-input = 0
while (1) {
- while (input == 0) {
- input = getkey
- }
- print(input)
- input = 0
+ print("> ")
+ input = gets()
+ answer = solve(input)
+ print("\n")
+ print(answer)
+ print("\n")
}