mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
fs_cli: exclude last character in buffer on redisplay
This commit is contained in:
parent
682ed52cf7
commit
fe60938686
@ -587,7 +587,7 @@ static void redisplay(void)
|
||||
const LineInfo *lf = el_line(el);
|
||||
const char *c = lf->buffer;
|
||||
printf("%s",prompt_str);
|
||||
while (c <= lf->lastchar && *c) {
|
||||
while (c < lf->lastchar && *c) {
|
||||
putchar(*c);
|
||||
c++;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user