]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Drop use of libedit EL_REFRESH in fs_cli for now
authorTravis Cross <tc@traviscross.com>
Thu, 27 Mar 2014 12:20:43 +0000 (12:20 +0000)
committerTravis Cross <tc@traviscross.com>
Thu, 27 Mar 2014 12:20:43 +0000 (12:20 +0000)
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.

libs/esl/fs_cli.c

index 3d0a8b65c98246f3cc114b7905bf900575cd422d..56507853982f68af3770347900a763d9f2b11686 100644 (file)
@@ -47,6 +47,7 @@ static unsigned char esl_console_complete(const char *buffer, const char *cursor
 
 #ifdef HAVE_LIBEDIT
 #include <histedit.h>
+#undef HAVE_DECL_EL_REFRESH
 #endif
 
 typedef struct {