aboutsummaryrefslogtreecommitdiff
path: root/frontend/rl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/rl.cpp')
-rw-r--r--frontend/rl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/rl.cpp b/frontend/rl.cpp
index 1c0df0e..3ce360f 100644
--- a/frontend/rl.cpp
+++ b/frontend/rl.cpp
@@ -5,7 +5,7 @@
#include <readline/history.h>
#include "rl.h"
-#include "print.h"
+#include "backend/print.h"
using namespace std;
@@ -19,7 +19,7 @@ string rl() {
if (out.size() > 0) add_history(input);
free(input);
- SessionLog::get().append(out);
+ SessionLog::get().append(out.c_str());
SessionLog::get().append("\n");
return out;