提交 1b28dadc authored 作者: Ken Rice's avatar Ken Rice

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

上级 f04a935f
...@@ -214,7 +214,7 @@ static unsigned char console_eofkey(EditLine *el, int ch) ...@@ -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;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论