aboutsummaryrefslogtreecommitdiff
path: root/src/line/input.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/line/input.cc')
-rw-r--r--src/line/input.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/line/input.cc b/src/line/input.cc
index cc5a62b..b7dbc23 100644
--- a/src/line/input.cc
+++ b/src/line/input.cc
@@ -1,24 +1,22 @@
-#include "line/input.h"
+#include "line/line_editor.h"
#include <print>
#include <string>
#include <unistd.h>
-#include "line/cursor.h"
#include "history.h"
-#include "line/getter.h"
using namespace std;
namespace ov4
{
-void clear_below()
+void T_line_editor::clear_below()
{
print("\x1b[0J");
}
-string readline()
+string T_line_editor::readline()
{
update_window_size();
history_vec.push_back("");