mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
FS-4694 --resolve
This commit is contained in:
parent
c51aebf621
commit
77eabbbdf7
@ -1520,6 +1520,9 @@ int main(int argc, char *argv[])
|
|||||||
el_set(el, EL_ADDFN, "ed-complete", "Complete argument", complete);
|
el_set(el, EL_ADDFN, "ed-complete", "Complete argument", complete);
|
||||||
el_set(el, EL_BIND, "^I", "ed-complete", NULL);
|
el_set(el, EL_BIND, "^I", "ed-complete", NULL);
|
||||||
|
|
||||||
|
/* "Delete" key. */
|
||||||
|
el_set(el, EL_BIND, "\033[3~", "ed-delete-next-char", NULL);
|
||||||
|
|
||||||
if (!(myhistory = history_init())) {
|
if (!(myhistory = history_init())) {
|
||||||
esl_log(ESL_LOG_ERROR, "history could not be initialized\n");
|
esl_log(ESL_LOG_ERROR, "history could not be initialized\n");
|
||||||
goto done;
|
goto done;
|
||||||
|
@ -1119,6 +1119,9 @@ SWITCH_DECLARE(void) switch_console_loop(void)
|
|||||||
el_set(el, EL_ADDFN, "ed-complete", "Complete argument", complete);
|
el_set(el, EL_ADDFN, "ed-complete", "Complete argument", complete);
|
||||||
el_set(el, EL_BIND, "^I", "ed-complete", NULL);
|
el_set(el, EL_BIND, "^I", "ed-complete", NULL);
|
||||||
|
|
||||||
|
/* "Delete" key. */
|
||||||
|
el_set(el, EL_BIND, "\033[3~", "ed-delete-next-char", NULL);
|
||||||
|
|
||||||
myhistory = history_init();
|
myhistory = history_init();
|
||||||
if (myhistory == 0) {
|
if (myhistory == 0) {
|
||||||
fprintf(stderr, "history could not be initialized\n");
|
fprintf(stderr, "history could not be initialized\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user