aboutsummaryrefslogtreecommitdiffstats
path: root/initrd
diff options
context:
space:
mode:
Diffstat (limited to 'initrd')
-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")
}