aboutsummaryrefslogtreecommitdiffstats
path: root/initrd
diff options
context:
space:
mode:
Diffstat (limited to 'initrd')
-rw-r--r--initrd/calc8
-rw-r--r--initrd/init11
2 files changed, 11 insertions, 8 deletions
diff --git a/initrd/calc b/initrd/calc
new file mode 100644
index 0000000..7359f16
--- /dev/null
+++ b/initrd/calc
@@ -0,0 +1,8 @@
+while (1) {
+ print("> ")
+ input = gets()
+ answer = solve(input)
+ print("\n")
+ print(answer)
+ print("\n")
+}
diff --git a/initrd/init b/initrd/init
index 7359f16..13e5876 100644
--- a/initrd/init
+++ b/initrd/init
@@ -1,8 +1,3 @@
-while (1) {
- print("> ")
- input = gets()
- answer = solve(input)
- print("\n")
- print(answer)
- print("\n")
-}
+choice = filemenu
+print("\nChoice: ")
+print(choice)