Overhaul process spawning

This commit is contained in:
Justine Tunney 2023-09-10 08:12:43 -07:00
parent 99dc1281f5
commit 26e254fb4d
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
96 changed files with 1848 additions and 1541 deletions

View file

@ -9,8 +9,11 @@
#endif
#include "libc/calls/calls.h"
// clears the teletypewriter display with empty cells
// clears teletypewriter display
//
// - \e[H moves to top left of display
// - \e[J erases whole display forward
int main(int argc, char *argv[]) {
write(1, "\e[H", 3);
write(1, "\e[H\e[J", 6);
}