Linenoise updated, multiline mode enabled in redis-cli.

This commit is contained in:
antirez
2014-03-13 15:11:08 +01:00
parent e0ef510630
commit 9e82461af0
3 changed files with 728 additions and 252 deletions

View File

@ -866,6 +866,7 @@ static void repl() {
sds *argv;
config.interactive = 1;
linenoiseSetMultiLine(1);
linenoiseSetCompletionCallback(completionCallback);
/* Only use history when stdin is a tty. */