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