FS-8808 #resolve fixed ^D in fs_cli with editline to delete char under cursor, not just backspace

This commit is contained in:
Ken Rice 2016-02-08 12:42:41 -06:00
parent f04a935ff9
commit 1b28dadc16

View File

@ -214,7 +214,7 @@ static unsigned char console_eofkey(EditLine *el, int ch)
return CC_EOF; return CC_EOF;
} else { } else {
if (line->cursor != line->lastchar) { if (line->cursor != line->lastchar) {
line->cursor++; el_cursor(el, 1);
el_deletestr(el, 1); el_deletestr(el, 1);
} }
return CC_REDISPLAY; return CC_REDISPLAY;