aboutsummaryrefslogtreecommitdiffstats
path: root/plpftp/ftp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plpftp/ftp.cc')
-rw-r--r--plpftp/ftp.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/plpftp/ftp.cc b/plpftp/ftp.cc
index 1b0545a..9323596 100644
--- a/plpftp/ftp.cc
+++ b/plpftp/ftp.cc
@@ -1102,6 +1102,9 @@ do_completion(const char *text, int start, int end)
rl_completion_entry_function = FUNCAST(null_completion);
rl_completion_append_character = ' ';
+#if (READLINE_VERSION >= 402)
+ rl_attempted_completion_over = 1;
+#endif
if (start == 0)
{
#if HAVE_LIBREADLINE
@@ -1165,6 +1168,9 @@ initReadline(void)
#if (READLINE_VERSION < 402)
rlcrap_setpointers(command_generator, filename_generator);
#endif
+#if (READLINE_VERSION >= 402)
+ rl_basic_word_break_characters = " \t\n\"\\'`@><=;|&{(";
+#endif
#endif
}