mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-09 21:14:02 +00:00
FS-8814: fix build on older libedit
This commit is contained in:
@@ -214,7 +214,9 @@ static unsigned char console_eofkey(EditLine *el, int ch)
|
||||
return CC_EOF;
|
||||
} else {
|
||||
if (line->cursor != line->lastchar) {
|
||||
#ifdef HAVE_EL_CURSOR
|
||||
el_cursor(el, 1);
|
||||
#endif
|
||||
el_deletestr(el, 1);
|
||||
}
|
||||
return CC_REDISPLAY;
|
||||
|
||||
Reference in New Issue
Block a user