aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-04-24 23:08:23 +0000
committerEric Andersen <andersen@codepoet.org>2002-04-24 23:08:23 +0000
commitae1036185e5707fd309825a6fed764089e9f5d43 (patch)
tree3bf2ab2526ad0a31041fef0523332976461a4b29 /shell
parent5f6873621d58e879d06b9a1ef7ea28b6d84c4b43 (diff)
downloadbusybox-ae1036185e5707fd309825a6fed764089e9f5d43.tar.gz
Apply last_patch37 from vodz
Diffstat (limited to 'shell')
-rw-r--r--shell/cmdedit.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/shell/cmdedit.c b/shell/cmdedit.c
index b0309fef1..4c502df12 100644
--- a/shell/cmdedit.c
+++ b/shell/cmdedit.c
@@ -207,7 +207,8 @@ static void cmdedit_reset_term(void)
handlers_sets &= ~SET_WCHG_HANDLERS;
}
fflush(stdout);
-#ifdef CONFIG_FEATURE_CLEAN_UP
+#if 0
+//#ifdef CONFIG_FEATURE_CLEAN_UP
if (his_front) {
struct history *n;
@@ -1267,7 +1268,7 @@ prepare_to_die:
/* Control-k -- clear to end of line */
*(command + cursor) = 0;
len = cursor;
- redraw(cmdedit_y, 0);
+ printf("\033[J");
break;
case 12:
{