fs_cli: tell el_init() about stdin and stderr

This commit is contained in:
Travis Cross 2011-09-22 05:28:14 +00:00
parent 05046e005e
commit 73d7e5a364
1 changed files with 1 additions and 1 deletions

View File

@ -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");