diff options
Diffstat (limited to 'include/line/cursor.h')
| -rw-r--r-- | include/line/cursor.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/include/line/cursor.h b/include/line/cursor.h new file mode 100644 index 0000000..7417201 --- /dev/null +++ b/include/line/cursor.h @@ -0,0 +1,28 @@ +#pragma once + +#include <string> + +using namespace std; // TODO: remove + +namespace ov4 +{ + +struct T_position +{ + int row; + int col; +}; + +inline int cursor_row; +inline int cursor_col; + +inline int line_end_pos; + +T_position get_cursor_position(); + +void print_override(const std::string &s); + +void move_cursor(char c); + +} + |
