diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-18 15:04:33 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-18 15:04:33 +0000 |
| commit | 83588b7ee9349a941b91294fa83fe6e207883ab6 (patch) | |
| tree | 7d28007f38dcc4efec72f0875d54e5b44df09db6 /include/line/cursor.h | |
| parent | f7319b36f4f48cdf065b9a1472c9a848ca6f95bc (diff) | |
fix uninitialized fd[]
Diffstat (limited to 'include/line/cursor.h')
| -rw-r--r-- | include/line/cursor.h | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/include/line/cursor.h b/include/line/cursor.h deleted file mode 100644 index 63d275c..0000000 --- a/include/line/cursor.h +++ /dev/null @@ -1,48 +0,0 @@ -#pragma once - -#include <string> - -#include "line/type.h" - -namespace ov4 -{ - -// 1-based -inline int cursor_row; -inline int cursor_col; -//inline int line_end_pos; - -inline int prompt_pos; - -inline int window_size_row; -inline int window_size_col; - -// 0-based index -inline int buffer_index_cursor; -// index [begin, end] is displayed -// NB: CLOSE interval -inline int _buffer_index_display_begin; -//inline int buffer_index_display_end; - -inline std::string line_buffer; - -void print_override(const std::string &s); - -void move_cursor(char c); - -void cursor_input_char(char c); - -void update_window_size(); - -void move_cursor(T_cursor_movement_direction d); - -void switch_history(T_cursor_movement_direction d); - -void reset_editor(); - -void cursor_skip_prompt(); - -void check_window_update(); - -} - |
