Commit 5babacad authored by antirez's avatar antirez
Browse files

Update linenoise.

parent 2091d73e
...@@ -598,7 +598,8 @@ static void refreshMultiLine(struct linenoiseState *l) { ...@@ -598,7 +598,8 @@ static void refreshMultiLine(struct linenoiseState *l) {
/* Write the prompt and the current buffer content */ /* Write the prompt and the current buffer content */
abAppend(&ab,l->prompt,strlen(l->prompt)); abAppend(&ab,l->prompt,strlen(l->prompt));
if (maskmode == 1) { 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 { } else {
abAppend(&ab,l->buf,l->len); abAppend(&ab,l->buf,l->len);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment