Implemented the INSERT command.
[pspp-builds.git] / src / ui / terminal / read-line.c
index c6279ce9c4bd6514ee797ed034d498bcdfdd671b..626b06353392f75c6941c6e1ac1e30f6096a0ef2 100644 (file)
@@ -32,6 +32,7 @@
 #include <libpspp/str.h>
 #include <libpspp/version.h>
 #include <language/prompt.h>
+#include <output/journal.h>
 #include <output/manager.h>
 
 #include "xalloc.h"
@@ -100,12 +101,11 @@ readln_uninitialize (void)
 
 static bool
 read_interactive (struct getl_interface *s,
-                  struct string *line, enum getl_syntax *syntax)
+                  struct string *line)
 {
   struct readln_source *is  =
     (struct readln_source *) s ;
 
-  *syntax = GETL_INTERACTIVE;
   return is->interactive_func (line, prompt_get_style ());
 }
 
@@ -129,6 +129,7 @@ welcome (void)
         "warranty.\" for details.\n", stdout);
   puts (stat_version);
   readln_initialize ();
+  journal_enable ();
 }
 
 /* Gets a line from the user and stores it into LINE.