diff options
author | antirez <antirez@gmail.com> | 2014-03-13 15:11:08 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2014-03-13 15:11:08 +0100 |
commit | 429aff4ef4ae6f2947614e1005048af78570b8a8 (patch) | |
tree | b71d25a018aabff303d6bd95674f7e7ee4db1980 /src/redis-cli.c | |
parent | cc11d103c09eb5a34f9097adf014b5193a8c9df3 (diff) | |
download | redis-429aff4ef4ae6f2947614e1005048af78570b8a8.tar.gz |
Linenoise updated, multiline mode enabled in redis-cli.
Diffstat (limited to 'src/redis-cli.c')
-rw-r--r-- | src/redis-cli.c | 1 |
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. */ |