summaryrefslogtreecommitdiffstats
path: root/cmake/readline.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/readline.cmake')
-rw-r--r--cmake/readline.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/readline.cmake b/cmake/readline.cmake
index 9c35d8c7..55a2867d 100644
--- a/cmake/readline.cmake
+++ b/cmake/readline.cmake
@@ -114,6 +114,9 @@ MACRO (MYSQL_FIND_SYSTEM_READLINE)
{
rl_completion_func_t *func1= (rl_completion_func_t*)0;
rl_compentry_func_t *func2= (rl_compentry_func_t*)0;
+ rl_on_new_line();
+ rl_replace_line(\"\", 0);
+ rl_redisplay();
}"
NEW_READLINE_INTERFACE)