mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-02 22:02:50 +00:00
fs_cli: tell el_init() about stdin and stderr
This commit is contained in:
parent
05046e005e
commit
73d7e5a364
@ -1164,7 +1164,7 @@ int main(int argc, char *argv[])
|
|||||||
esl_thread_create_detached(msg_thread_run, &handle);
|
esl_thread_create_detached(msg_thread_run, &handle);
|
||||||
|
|
||||||
#ifdef HAVE_EDITLINE
|
#ifdef HAVE_EDITLINE
|
||||||
el = el_init(__FILE__, stdout, stdout, stdout);
|
el = el_init(__FILE__, stdin, stdout, stderr);
|
||||||
el_set(el, EL_PROMPT, &prompt);
|
el_set(el, EL_PROMPT, &prompt);
|
||||||
el_set(el, EL_EDITOR, "emacs");
|
el_set(el, EL_EDITOR, "emacs");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user