diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-18 14:47:46 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-18 14:47:46 +0000 |
| commit | cd55aa462b112896240ab736bf60035fdb30ca2d (patch) | |
| tree | 4446cee1af4ba561e46b1587f96bb61aecedceb2 /src/line/input.cc | |
| parent | c8479ceff6aea37def538c902324c68930947f21 (diff) | |
adapt line editor
Diffstat (limited to 'src/line/input.cc')
| -rw-r--r-- | src/line/input.cc | 8 |
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(""); |
