From 1b28dadc16768d14fc1607d5602c3a550d90f59c Mon Sep 17 00:00:00 2001 From: Ken Rice Date: Mon, 8 Feb 2016 12:42:41 -0600 Subject: [PATCH] FS-8808 #resolve fixed ^D in fs_cli with editline to delete char under cursor, not just backspace --- libs/esl/fs_cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;