summaryrefslogtreecommitdiff
path: root/src/redis-cli.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-03-13 15:11:08 +0100
committerantirez <antirez@gmail.com>2014-03-13 15:11:08 +0100
commit429aff4ef4ae6f2947614e1005048af78570b8a8 (patch)
treeb71d25a018aabff303d6bd95674f7e7ee4db1980 /src/redis-cli.c
parentcc11d103c09eb5a34f9097adf014b5193a8c9df3 (diff)
downloadredis-429aff4ef4ae6f2947614e1005048af78570b8a8.tar.gz
Linenoise updated, multiline mode enabled in redis-cli.
Diffstat (limited to 'src/redis-cli.c')
-rw-r--r--src/redis-cli.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/redis-cli.c b/src/redis-cli.c
index b643933af..58c15da42 100644
--- a/src/redis-cli.c
+++ b/src/redis-cli.c
@@ -866,6 +866,7 @@ static void repl() {
sds *argv;
config.interactive = 1;
+ linenoiseSetMultiLine(1);
linenoiseSetCompletionCallback(completionCallback);
/* Only use history when stdin is a tty. */