summaryrefslogtreecommitdiff
path: root/console-tools/reset.c
diff options
context:
space:
mode:
authorEric Andersen2002-09-17 21:17:35 +0000
committerEric Andersen2002-09-17 21:17:35 +0000
commitdc180d14427fea95d57e8ad10953d271a47e6571 (patch)
tree9ec8d9cdeace0d28093b850dd9cc94645aae995e /console-tools/reset.c
parent6c32a8add480f2b7b86809d3d79a4555fa884c7f (diff)
downloadbusybox-dc180d14427fea95d57e8ad10953d271a47e6571.zip
busybox-dc180d14427fea95d57e8ad10953d271a47e6571.tar.gz
re-enable the cursor, in case it got disabled
-Erik
Diffstat (limited to 'console-tools/reset.c')
-rw-r--r--console-tools/reset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/console-tools/reset.c b/console-tools/reset.c
index 84cbb44..0039afa 100644
--- a/console-tools/reset.c
+++ b/console-tools/reset.c
@@ -3,7 +3,7 @@
* Mini reset implementation for busybox
*
* Copyright (C) 1999,2000 by Lineo, inc. and Erik Andersen
- * Copyright (C) 1999,2000,2001 by Erik Andersen <andersee@debian.org>
+ * Copyright (C) 1999-2002 by Erik Andersen <andersee@debian.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 +28,7 @@
extern int reset_main(int argc, char **argv)
{
- printf("\033c");
+ printf("\033[?25h\033c");
return EXIT_SUCCESS;
}