freeswitch/libs
Travis Cross 323a3d617c Avoid output of junk text by fs_cli
In some cases where `redisplay()` is called immediately after a
command is run (e.g. `log ...`) we often get a prompt, junk output,
and a second prompt.  This is due to a (known) race.

We believe we're falling afoul of this code in `el_deletestr`:

    if (el->el_line.cursor < &el->el_line.buffer[n])
            return;

Basing the length of text to delete off of the cursor position
resolves the issue of junk text, but the real solution is to eliminate
the race conditions, which will also resolve the sometimes duplicated
prompt.

FS-6764 #resolve

Thanks-to: Nathan Neulinger <nneul@neulinger.org>
2014-08-26 20:18:22 +00:00
..
apr
apr-util
broadvoice
esl Avoid output of junk text by fs_cli 2014-08-26 20:18:22 +00:00
freetdm Fix line endings per .gitattributes 2014-08-08 15:24:42 +00:00
iksemel
ilbc Fix line endings per .gitattributes 2014-08-08 15:24:42 +00:00
libcodec2
libdingaling
libg722_1
libks
libnatpmp
libscgi
libsndfile
libteletone
libtpl-1.5
libzrtp Cleanup whitespace 2014-08-13 19:29:03 +00:00
miniupnpc
silk Fix line endings per .gitattributes 2014-08-08 15:24:42 +00:00
sofia-sip Return NULL from `sub_alloc` for zero size 2014-08-22 02:47:04 +00:00
spandsp
srtp libsrtp: do not include unnecessary sources 2014-08-13 18:52:18 +00:00
tiff-4.0.2
unimrcp
win32 Fix line endings per .gitattributes 2014-08-08 15:24:42 +00:00
xmlrpc-c Fix line endings per .gitattributes 2014-08-08 15:24:42 +00:00
.gitignore