diff --git a/Makefile b/Makefile index 7a12d17..104f674 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,7 @@ LIB = \ SRC = \ chvt.c \ + clear.c \ df.c \ dmesg.c \ free.c \ diff --git a/clear.c b/clear.c new file mode 100644 index 0000000..3c3a437 --- /dev/null +++ b/clear.c @@ -0,0 +1,9 @@ +/* See LICENSE file for copyright and license details. */ +#include + +int +main(void) +{ + printf("\e[2J\e[H"); + return 0; +}