From d9324456b4dd4b3a520534fa7a2996358d3484f0 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 21 Sep 2019 18:26:46 +0200 Subject: Added clear command --- src/kernel/commands/command.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/kernel/commands/command.c') diff --git a/src/kernel/commands/command.c b/src/kernel/commands/command.c index c673b44..df33a24 100644 --- a/src/kernel/commands/command.c +++ b/src/kernel/commands/command.c @@ -16,6 +16,8 @@ void exec_command(char *command) { terminal_write_line("I can't help you write now"); else if (starts_with(command, "ping")) terminal_write_line("pong!"); + else if (starts_with(command, "clear")) + terminal_clear(); else if (starts_with(command, "shutdown")) acpi_poweroff(); else if (starts_with(command, "zzz")) -- cgit v1.2.3