From: Travis Cross Date: Thu, 27 Mar 2014 12:20:43 +0000 (+0000) Subject: Drop use of libedit EL_REFRESH in fs_cli for now X-Git-Tag: v1.5.12~299 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc093d179eba81df25e64634b4c01b8a62109644;p=thirdparty%2Ffreeswitch.git Drop use of libedit EL_REFRESH in fs_cli for now Newer versions of libedit provide an EL_REFRESH mechanism for redrawing the prompt. We had previously written our own code to handle this. In theory handing this over to libedit should be better. Unfortunately when using EL_REFRESH the output of sofia siptrace isn't showing up. We're working on that, but for now we're just force own our redrawing code to be used instead. --- diff --git a/libs/esl/fs_cli.c b/libs/esl/fs_cli.c index 3d0a8b65c9..5650785398 100644 --- a/libs/esl/fs_cli.c +++ b/libs/esl/fs_cli.c @@ -47,6 +47,7 @@ static unsigned char esl_console_complete(const char *buffer, const char *cursor #ifdef HAVE_LIBEDIT #include +#undef HAVE_DECL_EL_REFRESH #endif typedef struct {