mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:38:11 +00:00
Add a /bin/clear that prints the clear terminal escape sequence.
It doesn't work yet, but it will!
This commit is contained in:
parent
8f91a47aeb
commit
cc7e3519a6
6 changed files with 25 additions and 8 deletions
8
Userland/clear.cpp
Normal file
8
Userland/clear.cpp
Normal file
|
@ -0,0 +1,8 @@
|
|||
#include <LibC/stdio.h>
|
||||
|
||||
int main(int, char**)
|
||||
{
|
||||
printf("\033[3J\033[H\033[2J");
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue