summaryrefslogtreecommitdiff
path: root/Source/Applications/Shell/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Applications/Shell/main.cpp')
-rw-r--r--Source/Applications/Shell/main.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/Source/Applications/Shell/main.cpp b/Source/Applications/Shell/main.cpp
new file mode 100644
index 0000000..fabf30c
--- /dev/null
+++ b/Source/Applications/Shell/main.cpp
@@ -0,0 +1,13 @@
+#include <Binding/VirtualTerminal.class.h>
+#include <Binding/FSNode.class.h>
+#include <String.class.h>
+
+int main() {
+ VirtualTerminal vt = VirtualTerminal::get();
+ FSNode node = FSNode::getRoot();
+ while (1) {
+ vt << node.getName() << " : ";
+ String s = vt.readLine();
+ }
+ return 0;
+}