1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 17:55:08 +00:00
serenity/Userland/clear.cpp
Andreas Kling cc7e3519a6 Add a /bin/clear that prints the clear terminal escape sequence.
It doesn't work yet, but it will!
2018-10-27 17:39:08 +02:00

8 lines
102 B
C++

#include <LibC/stdio.h>
int main(int, char**)
{
printf("\033[3J\033[H\033[2J");
return 0;
}