Vladimir N. Oleynik writes:
[oweals/busybox.git] / console-tools / reset.c
index 0039afa693b21e974e68b30be4c5bdf5b429f6bb..69b1e846a204116f9b4151f0b8850cde11b12458 100644 (file)
@@ -2,8 +2,7 @@
 /*
  * Mini reset implementation for busybox
  *
- * Copyright (C) 1999,2000 by Lineo, inc. and Erik Andersen
- * Copyright (C) 1999-2002 by Erik Andersen <andersee@debian.org>
+ * Copyright (C) 1999-2003 by Erik Andersen <andersen@codepoet.org>
  * Written by Erik Andersen and Kent Robotti <robotti@metconnect.com>
  *
  * This program is free software; you can redistribute it and/or modify
@@ -28,7 +27,7 @@
 
 extern int reset_main(int argc, char **argv)
 {
-          printf("\033[?25h\033c");
+          printf("\033[?25h\033c\033[J");
        return EXIT_SUCCESS;
 }