about summary refs log tree commit diff
path: root/src/pOS/arch/x86/kernel/shell/cmds/clear.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pOS/arch/x86/kernel/shell/cmds/clear.cpp')
-rw-r--r--src/pOS/arch/x86/kernel/shell/cmds/clear.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/pOS/arch/x86/kernel/shell/cmds/clear.cpp b/src/pOS/arch/x86/kernel/shell/cmds/clear.cpp
new file mode 100644
index 0000000..1919a3a
--- /dev/null
+++ b/src/pOS/arch/x86/kernel/shell/cmds/clear.cpp
@@ -0,0 +1,9 @@
+#include <kernel/shell/cmd.h>
+#include <kernel/tty.h>
+
+int CMD_Clear::execute(const char* args)
+{
+    UNUSED_VARIABLE(args);
+    TTY::tty_initialize();
+    return 0;
+}