mirror of
https://github.com/fluencelabs/redis
synced 2025-04-03 00:01:04 +00:00
redis-cli prompt bug fix
This commit is contained in:
parent
ea1f503cfe
commit
e396236651
@ -794,6 +794,7 @@ static void repl() {
|
|||||||
sdsfree(config.hostip);
|
sdsfree(config.hostip);
|
||||||
config.hostip = sdsnew(argv[1]);
|
config.hostip = sdsnew(argv[1]);
|
||||||
config.hostport = atoi(argv[2]);
|
config.hostport = atoi(argv[2]);
|
||||||
|
cliRefreshPrompt();
|
||||||
cliConnect(1);
|
cliConnect(1);
|
||||||
} else if (argc == 1 && !strcasecmp(argv[0],"clear")) {
|
} else if (argc == 1 && !strcasecmp(argv[0],"clear")) {
|
||||||
linenoiseClearScreen();
|
linenoiseClearScreen();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user