aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2002-04-24 23:08:23 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2002-04-24 23:08:23 +0000
commit148f6c54337a16bfa902a1e0756fb26cc788ae6a (patch)
tree3bf2ab2526ad0a31041fef0523332976461a4b29 /shell
parent12788adb64bca814a45c0e4443db76d653244ab4 (diff)
downloadbusybox-w32-148f6c54337a16bfa902a1e0756fb26cc788ae6a.tar.gz
busybox-w32-148f6c54337a16bfa902a1e0756fb26cc788ae6a.tar.bz2
busybox-w32-148f6c54337a16bfa902a1e0756fb26cc788ae6a.zip
Apply last_patch37 from vodz
git-svn-id: svn://busybox.net/trunk/busybox@4652 69ca8d6d-28ef-0310-b511-8ec308f3f277
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)
207 handlers_sets &= ~SET_WCHG_HANDLERS; 207 handlers_sets &= ~SET_WCHG_HANDLERS;
208 } 208 }
209 fflush(stdout); 209 fflush(stdout);
210#ifdef CONFIG_FEATURE_CLEAN_UP 210#if 0
211//#ifdef CONFIG_FEATURE_CLEAN_UP
211 if (his_front) { 212 if (his_front) {
212 struct history *n; 213 struct history *n;
213 214
@@ -1267,7 +1268,7 @@ prepare_to_die:
1267 /* Control-k -- clear to end of line */ 1268 /* Control-k -- clear to end of line */
1268 *(command + cursor) = 0; 1269 *(command + cursor) = 0;
1269 len = cursor; 1270 len = cursor;
1270 redraw(cmdedit_y, 0); 1271 printf("\033[J");
1271 break; 1272 break;
1272 case 12: 1273 case 12:
1273 { 1274 {