Apply last_patch37 from vodz

This commit is contained in:
Eric Andersen 2002-04-24 23:08:23 +00:00
parent 5f6873621d
commit ae1036185e

View File

@ -207,7 +207,8 @@ static void cmdedit_reset_term(void)
handlers_sets &= ~SET_WCHG_HANDLERS; handlers_sets &= ~SET_WCHG_HANDLERS;
} }
fflush(stdout); fflush(stdout);
#ifdef CONFIG_FEATURE_CLEAN_UP #if 0
//#ifdef CONFIG_FEATURE_CLEAN_UP
if (his_front) { if (his_front) {
struct history *n; struct history *n;
@ -1267,7 +1268,7 @@ prepare_to_die:
/* Control-k -- clear to end of line */ /* Control-k -- clear to end of line */
*(command + cursor) = 0; *(command + cursor) = 0;
len = cursor; len = cursor;
redraw(cmdedit_y, 0); printf("\033[J");
break; break;
case 12: case 12:
{ {