1
0
mirror of git://git.suckless.org/ubase synced 2024-12-25 08:02:17 +00:00

Add clear(1)

This commit is contained in:
sin 2013-08-16 11:08:26 +01:00
parent c2db2d065b
commit afe56e4cc7
2 changed files with 10 additions and 0 deletions

View File

@ -16,6 +16,7 @@ LIB = \
SRC = \
chvt.c \
clear.c \
df.c \
dmesg.c \
free.c \

9
clear.c Normal file
View File

@ -0,0 +1,9 @@
/* See LICENSE file for copyright and license details. */
#include <stdio.h>
int
main(void)
{
printf("\e[2J\e[H");
return 0;
}