diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-08 14:59:41 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-08 14:59:41 +0000 |
| commit | 6864b943fb91debe90b88e2e8a3a063fa89cbdce (patch) | |
| tree | 1b9f7d0ce249f471451512b0c50e1af9d8db7a04 /include | |
| parent | 0e1493d536c564f5d75a1345fe149cfdf0daee61 (diff) | |
fix cursor moving right
Diffstat (limited to 'include')
| -rw-r--r-- | include/line/cursor.h | 2 | ||||
| -rw-r--r-- | include/line/getter.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/line/cursor.h b/include/line/cursor.h index 46b8423..032269d 100644 --- a/include/line/cursor.h +++ b/include/line/cursor.h @@ -12,7 +12,7 @@ namespace ov4 // 1-based inline int cursor_row; inline int cursor_col; -inline int line_end_pos; +//inline int line_end_pos; inline int prompt_pos; diff --git a/include/line/getter.h b/include/line/getter.h index a572c38..8a3ef7e 100644 --- a/include/line/getter.h +++ b/include/line/getter.h @@ -8,8 +8,9 @@ namespace ov4 int get_terminal_pos_cursor(); int get_buffer_index_display_begin(); int get_buffer_index_display_end(); +int get_terminal_pos_line_end(); -void update_line_end_pos(); +//void update_line_end_pos(); T_position get_cursor_position(); |
