diff options
author | Ian Moffett <ian@osmora.org> | 2025-07-07 00:59:29 +0000 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-07-07 00:59:29 +0000 |
commit | 7c509b9edc1ab8fbf36f586182042331868ac11e (patch) | |
tree | b4d0c77d84f3eaa0618c75e47cc2634315642fc1 | |
parent | 7ca4b1c0537ec41f4b7b05ad61b48ff0bb29af8b (diff) |
usr.bin: osh: Use "\033[2J" to clear screen
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r-- | usr.bin/osh/osh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/osh/osh.c b/usr.bin/osh/osh.c index dd92378..0bce357 100644 --- a/usr.bin/osh/osh.c +++ b/usr.bin/osh/osh.c @@ -118,7 +118,7 @@ cmd_shutdown(int argc, char *argv[]) static void cmd_clear(int argc, char *argv[]) { - fputs("\033[H", stdout); + fputs("\033[2J", stdout); } static void |