Improve the way we handle the various parsing "states". Until now
[pspp-builds.git] / src / ui / terminal / read-line.c
index 2a0bfd5e2be55ca584ef6c6c2f1088a5a90d22c7..a89a953b5d0b06c5d5a5b41ecd65c516d4235793 100644 (file)
@@ -56,8 +56,9 @@ readln_initialize (void)
 {
   initialised = true;
 
-#if HAVE_READLINE 
-  rl_completion_entry_function = pspp_completion_function;
+#if HAVE_READLINE
+  rl_basic_word_break_characters = "\n";
+  rl_attempted_completion_function = pspp_attempted_completion_function;
 #ifdef unix
   if (history_file == NULL)
     {