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
1 changed files with 1 additions and 1 deletions

View File

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