CeDOS - Commit 9ce0f254

shelf: Add clear command to clear screen
Celina Sophie Kalus
Wed, 06 Dec 2023 01:27:59 +0100
1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M shell/shelf.cshell/shelf.c

@@ -101,6 +101,9 @@ item = item->next;

} continue; + } else if (strcmp(file, "clear") == 0) { + printf("\e[2J"); + continue; } int pid = process_spawn(file, args);