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
2014-07-22 15:19:52 -05:00
2014-03-24 12:39:59 +00:00
2014-08-01 16:55:53 -05:00
2014-02-12 12:08:56 -06:00
2014-08-26 20:18:22 +00:00
2014-08-26 09:52:55 -05:00
2014-07-09 09:04:17 -05:00
2014-07-19 18:06:01 +02:00
2010-04-01 21:00:45 -04:00
2014-07-17 21:15:53 +00:00
2014-08-01 14:47:38 -05:00
2013-09-16 22:59:26 +05:00
2013-09-16 22:59:26 +05:00
2012-05-15 10:20:52 -05:00
2014-02-02 12:33:37 +01:00
2014-01-17 16:17:57 -06:00
2013-04-04 20:52:47 -05:00
2014-07-17 21:15:53 +00:00
2013-12-23 22:43:06 +05:00
Description
FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unl
Multiple Licenses 196 MiB
Languages
C 65.2%
C++ 20.8%
JavaScript 4.8%
Assembly 2%
Makefile 1%
Other 5.4%