Meta: Add files to repository
This commit is contained in:
parent
80a0428b66
commit
39198164cd
1029 changed files with 78311 additions and 0 deletions
9
System/Shell/Commands/clear.HC
Normal file
9
System/Shell/Commands/clear.HC
Normal file
|
@ -0,0 +1,9 @@
|
|||
I64 @shell_cmd_clear(@shell* sh, I64 argc, U8** argv)
|
||||
{
|
||||
if (argc > 1) {
|
||||
Stdio.WriteLine(sh, "esh: clear: too many arguments\n");
|
||||
return 1;
|
||||
}
|
||||
Stdio.WriteLine(sh, "\x1b[2J\x1b[0;0H");
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue