From efd1e11475088284803f5db0f554f6ef2d0268f5 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Tue, 27 Mar 2018 12:00:57 -0400 Subject: functional keypad, va_arg bug discovery --- initrd/init | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'initrd/init') 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") } -- cgit v1.2.3