aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2018-08-21 17:16:42 -0500
committerRob Landley <rob@landley.net>2018-08-21 17:16:42 -0500
commit873a3216ccc5c1f2bbc4f053c851c2a8d24e4553 (patch)
tree4269c46e424121a3e813d5ee558b813adab7445f /toys
parent8e221d54c809cdbc5ebfed71abdd4ec27f3cd266 (diff)
downloadtoybox-873a3216ccc5c1f2bbc4f053c851c2a8d24e4553.tar.gz
Use \033 instead of \e gcc extension.
Diffstat (limited to 'toys')
-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");
}