forked from Mirrors/freeswitch
FS-8808 #resolve fixed ^D in fs_cli with editline to delete char under cursor, not just backspace
This commit is contained in:
parent
f04a935ff9
commit
1b28dadc16
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue