aboutsummaryrefslogtreecommitdiff
path: root/toys/other/clear.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/other/clear.c')
-rw-r--r--toys/other/clear.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/clear.c b/toys/other/clear.c
index 4061ea8d..842579f8 100644
--- a/toys/other/clear.c
+++ b/toys/other/clear.c
@@ -15,5 +15,5 @@ config CLEAR
void clear_main(void)
{
- xwrite(1, "\e[2J\e[H", 7);
+ printf("\033[2J\033[H");
}