aboutsummaryrefslogtreecommitdiff
path: root/toys/clear.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/clear.c')
-rw-r--r--toys/clear.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/toys/clear.c b/toys/clear.c
deleted file mode 100644
index 8cfceff3..00000000
--- a/toys/clear.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/* vi: set sw=4 ts=4:
- *
- * clear.c - clear the screen
- *
- * Copyright 2012 Rob Landley <rob@landley.net>
- *
- * Not in SUSv4.
-
-USE_CLEAR(NEWTOY(clear, NULL, TOYFLAG_USR|TOYFLAG_BIN))
-
-config CLEAR
- bool "clear"
- default y
- help
- Clear the screen.
-*/
-
-#include "toys.h"
-
-void clear_main(void)
-{
- write(1, "\e[2J\e[H", 7);
-}