• Travis Cross's avatar
    Avoid output of junk text by fs_cli · 323a3d61
    Travis Cross 提交于
    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>
    323a3d61
名称
最后提交
最后更新
..
getopt 正在载入提交数据...
java 正在载入提交数据...
lua 正在载入提交数据...
managed 正在载入提交数据...
perl 正在载入提交数据...
php 正在载入提交数据...
python 正在载入提交数据...
ruby 正在载入提交数据...
src 正在载入提交数据...
tcl 正在载入提交数据...
.gitignore 正在载入提交数据...
ESL.i 正在载入提交数据...
Makefile.am 正在载入提交数据...
eslmake.rules.in 正在载入提交数据...
fs_cli.2008.vcproj 正在载入提交数据...
fs_cli.2010.vcxproj 正在载入提交数据...
fs_cli.2010.vcxproj.filters 正在载入提交数据...
fs_cli.2012.vcxproj 正在载入提交数据...
fs_cli.2012.vcxproj.filters 正在载入提交数据...
fs_cli.c 正在载入提交数据...
fs_cli.conf 正在载入提交数据...
fs_cli.rc 正在载入提交数据...
ivrd.c 正在载入提交数据...
switch_version.rc2 正在载入提交数据...
test.pl 正在载入提交数据...
testclient.c 正在载入提交数据...
testserver.c 正在载入提交数据...
testserver_fork.c 正在载入提交数据...