From: Ken Rice Date: Mon, 8 Feb 2016 18:42:41 +0000 (-0600) Subject: FS-8808 #resolve fixed ^D in fs_cli with editline to delete char under cursor, not... X-Git-Tag: v1.6.7~2^2~97 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b28dadc16768d14fc1607d5602c3a550d90f59c;p=thirdparty%2Ffreeswitch.git FS-8808 #resolve fixed ^D in fs_cli with editline to delete char under cursor, not just backspace --- diff --git a/libs/esl/fs_cli.c b/libs/esl/fs_cli.c index 419aa9b50a..bbdf9a1426 100644 --- a/libs/esl/fs_cli.c +++ b/libs/esl/fs_cli.c @@ -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;