From cd55aa462b112896240ab736bf60035fdb30ca2d Mon Sep 17 00:00:00 2001 From: _ov4 Date: Sun, 18 Oct 2026 14:47:46 +0000 Subject: adapt line editor --- src/line/input.cc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/line/input.cc') 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 #include #include -#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(""); -- cgit v1.3.1-4-g156e