mirror of
https://github.com/redis/redis.git
synced 2026-06-09 08:55:06 -04:00
Update linenoise.
This commit is contained in:
parent
2091d73ef5
commit
5babacad9b
1 changed files with 2 additions and 1 deletions
3
deps/linenoise/linenoise.c
vendored
3
deps/linenoise/linenoise.c
vendored
|
|
@ -598,7 +598,8 @@ static void refreshMultiLine(struct linenoiseState *l) {
|
|||
/* Write the prompt and the current buffer content */
|
||||
abAppend(&ab,l->prompt,strlen(l->prompt));
|
||||
if (maskmode == 1) {
|
||||
for (uint i = 0; i < l->len; i++) abAppend(&ab,"*",1);
|
||||
unsigned int i;
|
||||
for (i = 0; i < l->len; i++) abAppend(&ab,"*",1);
|
||||
} else {
|
||||
abAppend(&ab,l->buf,l->len);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue